Hide and Show Elements by Class or ID
10
A prototype function to get an array of elements by id in an array
12
Here's a simple JavaScript solution to hide your e-mail from many spam scripts while still providing clickable hyperlinks to your visitors.
Web crawlers and visitors with JavaScript disabled will see: me [at] mydomain [dot] com. I've seen a lot of people that just leave it at this, but it seems a bit unprofessional in my opinion. With the following code, we can replace that with a fully functional hyperlink.
Web crawlers and visitors with JavaScript disabled will see: me [at] mydomain [dot] com. I've seen a lot of people that just leave it at this, but it seems a bit unprofessional in my opinion. With the following code, we can replace that with a fully functional hyperlink.
26
The basic framework of an Ajax-enabled web page. The following JavaScript shows how to send a request for an XML file and how to receive that request. Of course, in a real life scenario, you'll have to implement better error trapping and actually do something with the XML that gets returned.
9
Gets the rightmost substring, of the specified length, from a String object.
8
svachon
Gets a regular expression that'll search for any regexp pattern specified in the parameters.
32
Gives you the ability to dynamically include a CSS file at any time in your HTML page using Javascript.
14
Here's a library to manage CSS class names on DOM elements.
8
This code will remove specified no of elements in an js array , from the beggining of it.
4
This code snippet will validate an IP Address (IP v4).
return true if the ip address is valid. Else false.
return true if the ip address is valid. Else false.
7
Alternate row coloring using javascript









