Javascript
Javascript Articles and Tutorials
Tagged:

Sometimes we may require our form to submit automatically when the browser loads. We can simply create a simple JavaScript function and call it at the event 'onload' when our page loads.
For this, we make the function call on the 'onload' attribute of the body tag of our HTML as below.

Tagged:

While developing a chat application, we may come across a situation when we require a div to automatically scroll down as the new message gets updated.

Tagged:

While working with numbers in currency format, it is quite confusing to format a number to a desired value.

Tagged:

Javascript undefined and empty variable check is a simple yet confusing issue. I have come across this problem couple of times too and finding a proper solution to address it is yet more confusing. Hence, I have summarized it here.

Tagged:

Javascript Functions are chunks of statements of javascript code which exist independently from the main script. These functions are executed only when called.

Tagged:

MooTools is an open source, lightweight, modular object-oriented programming JavaScript web application framework. The MooTools JavaScript framework includes built-in functions for manipulation of CSS, DOM elements, native JavaScript objects, Ajax requests, and more.

Tagged:

We have often seen in webmail and other similar applications where a single checkbox at the top is used to toggle the selection of all other checkboxes in the page. The javascript function below makes it possible to achieve the same result.

Tagged:

This simple example is used to reload the parent window from its child window.

Just click on the link "Click here for New window" and a child pop up window displays and after 5 seconds it closes and refreshes its parent window.

Syndicate content