Hide and Show Elements by Class or ID
11
Just a little code to make a window in XUL
11
Set a Cookie
11
Get a Cookie Value
11
This function will run all functions that are to be executed one by one on page load with specified/added orde
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
A prototype function to get an array of elements by id in an array
10
Gives you control to perform actions when the control key and the mouse button is clicked in the same time. Something similar to selecting elements in Windows with ctrl+click.
Just change the event.ctrlKey to event.shiftKey to make it shift+click. If you don't get it don't worry the snippet contains the demo for shift+click too.
You may need to change the event.which though 1 = left click, 2 = middle click, 3 = right click(at least in firefox 1.5.0.5)
Just change the event.ctrlKey to event.shiftKey to make it shift+click. If you don't get it don't worry the snippet contains the demo for shift+click too.
You may need to change the event.which though 1 = left click, 2 = middle click, 3 = right click(at least in firefox 1.5.0.5)









