Latest posts on "JavaScript"

How to disable the browser’s back button using JavaScript?

2 January 2018

In this tutorial I will show you how to disable the back button using JavaScript. We cannot disable the browser back button. Instead, we can prevent them with the help of JavaScript code.

Open and closed browser window using JavaScript

2 January 2018

In this tutorial I will show you how to open and close the browser window within a time interval.Here, I am closing the browser tab using the setTimeout by the JavaScript function and passing the two parameter function “closeWin” and time interval of 5 seconds.

How to set focus on the image of an HTML page?

2 March 2017

After cropping the image, the page scrolls to the top of the window. The new cropped image doesn’t get focused. Normally .focus() JavaScript method is applies to the form controls.

JavaScript Confirm submit button onClick

30 January 2017

The JavaScript confirmation dialog box is used to handle user’s agreement on any option.Here, I will show you how to use a JavaScript alert confirm, it prompts a dialog box with two buttons OK and Cancel.

How to find a client’s browser name?

30 January 2017

In this article I will show you how can you find a client’s browser name. You can detect the browser using the JavaScript properties navigation.appName and navigation.

Change image on mouseover JavaScript in asp.net

23 January 2017

In this article I will show you how to display Large image while the user mouse hover on small images using JavaScript onmouseover event in asp.net . Usually we have seen these kind of functionality in shopping cart websites.

onmouseover and onmouseout in JavaScript example

23 October 2016

In this article, I will show you how to use onmouseover and onmouseout in html using JavaScript. Change the image on mouse over/out using Javascript mouse events in html.

Page 1 of 5