...

View Full Version : disabling text fields/onblur



duniyadnd
01-17-2003, 05:16 PM
Is there a way of disabling a text field (disabled) or using the onblur function without blurring the text within it?

Thanks
Duniyadnd

duniyadnd
01-17-2003, 05:26 PM
was doing it wrong...

<input type="text" value="valuestuff" onchange="this.value='valuestuff';">

Duniyadnd

whammy
01-18-2003, 12:29 AM
A couple of other ways...

<input type="text" value="valuestuff" readonly="true" />

<input type="text" value="valuestuff" onchange="this.value=this.defaultValue" />



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum