Script Categories













Forms >>> Locked Textbox.

Prevent your visitors from modifying the value stored in a textbox (without using input type=hidden) Just try to change the text in the box! Amazingly, it's a short less than one line script!

// an even more reliable method is to use: //

Add the below code to the <body> section of your page:

<form name=form>
<!-- Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! -->
<nobr>
<input type=text name=box value="Locked text!" onFocus="this.blur()" size=12>
// an even more reliable method is to use:
//
<input type=text name=box value="Locked text!" onChange="this.value='Locked text!';" size=12 readonly>
</nobr>
</form>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).

real money online casino


©