Status Bar Messages in JavaScript
The status bar of a browser can be an important means of communicating with the user. You can use two properties of the window object default Status and status to control the text
Read tutorialTHE TUTORIAL LIBRARY
The status bar of a browser can be an important means of communicating with the user. You can use two properties of the window object default Status and status to control the text
Read tutorialYou can retrieve a portion of a string variable or literal by using the substring() method. It has two parameters-the start position and end position of the substring you want to r
Read tutorialWhen working with single and multiple frames in your JavaScript application, you probably need to use additional ways to reference windows. JavaScript provides four references to w
Read tutorialFor mathematical calculations, JavaScript encapsulates a host of mathematical constants and procedures into a single entity-the Math object. The Math object is quite a bit differen
Read tutorialThe window.close() method can only close the window that was opened by JavaScript using the window.open() method. If the window was not opened by JavaScript, the method will not cl
Read tutorialStrings area fundamental part of any programming language. Strings, which are a set of alpha-numeric characters, can be either a literal string, such as "Push the envelope" or a va
Read tutorialIn JavaScript, you can handle textarea elements similar to text input fields. You can use various event handlers to detect and respond to user interactions with the textarea. Here
Read tutorialThese are just a few examples of how to handle text input events in JavaScript. There are many more events and event handlers that can be used to create dynamic and interactive web
Read tutorialIn HTML, a element creates a drop-down list. The options in the drop-down list can be accessed and manipulated using JavaScript.
Read tutorialTo handle radio buttons in JavaScript, you can use the checked property of the radio button element to determine if it is selected. Here's an example
Read tutorialIn JavaScript, there is no built-in Password object. However, you can create a custom object to handle passwords. Here's an example:
Read tutorialJavaScript programs are typically event-driven. Events are actions that occur on the Web page, usually as a result of something the user does, although not always. For example, a b
Read tutorialOne example today. A better developer tomorrow.