Java Script Articles

Java Script: How to replace string in Java Script

In this article i will explain how to replace string in Java Script.

Java Script: Get Key Codes

In this article i will explain how to get key codes in Java Script.

Java Script: TextBox

In this article i will explain how to work with TextBox in Java Script.

Java Script: Create HTML Table dynamically

In this article i will how to create a HTML Table dynamically in Java Script.

Java Script: Create/Insert rows dynamically to HTML Table and Remove/Delete rows from HTML Table

In this article i will explain How to Create/Insert rows dynamically to HTML Table and Remove/Delete rows from HTML Table.

Java Script: Number Validation

In this article i will explain How to validate a Number in Java Script. This article includes the following: 1.Number Validation in Java Script 2.Number Validation in onblur event. 3.Restrict user to enter other than numbers in onkeypress event.

Clear items from DropDownList (or) Select in Java script

In this article i will explain how to clear items from DropDownList (or) Select in Java script.

Get selected index from DropDownList (or) Select in Java Script

In this article i will expalin how to get selected index from DropDownList (or) Select in Java Script

Get selected text/value from DropDownList (or) Select in Java Script

In this article i will explain how to get selected text, value from DropDownList (or) Select in Java Script

Set DropDownList value based on text/value in Java Script

In this article i will explain how to set DropDownList value based on text/value in Java Script

Check/Uncheck checkboxes when parent checkbox is checked/unchecked and vice-versa in Java Script

Objective: 1. Check all the checkboxes when parent checkbox is checked 2. UnCheck all checkboxes when parent checkbox is unchecked 3. Check parent checkbox if all the child checkboxes are checked 4. UnCheck parent checkbox if atleast one checkbox is unchecked