Below are snippets for sundaramkumar.
11
when an javascript error is occured , instead of showing the default error message by the system, we can show the our own cusom error message like this.
11
Restrict input to alphanumeric and uppercase
11
Find and replace a string or character(s) inside another string
11
check if your browser/javascript supports Ajax.
For this we can use prototype's getTransport method.
For this we can use prototype's getTransport method.
10
This will convert the time from number of seconds to HH:MM format
9
function to validate mac address
9
Remove control character from a string
9
Find min and max of an array
8
This code will remove specified no of elements in an js array , from the beggining of it.
8
Add rows into a table dynamically using js,DOM









