onfocus blur

andycharger

Centurion
Joined
Apr 2, 2003
Messages
152
In the old days, onfocus blur was a good way to stop people editing a textbox if you had a calendar input.

Now all I can find is making it "enabled=false". However, this stops the values in the box being passed as part of the form.

Is there an alternative to onfocus blur in dot net? If so, what is it?
 
TextBoxes have ReadOnly property, maybe to use this? *lol*

for other controls javascript-events like onControlSelect="return false;" or beforeControlSelect="return false;" will work (show docu for case-sensitives for my example)
 
Back
Top