Tuesday, October 20, 2009

JavaScript

Some Javascript scripts that are always useful:

1) Disabling an item in a dropdown list:



2) Restriction in number of characters or lines in a multiline textbox



3) Blocking the right click / left click



To call it:
onMouseDown="whichButton(event)"

4) Cleaning the clipboard:

No comments:

Post a Comment