Thanx
maulin,
I hv one text field and ok button in the form , If the field is empty , the button is disabled.
If you paste something by Ctrl+v it works fine(onKeyUp event) .But if I paste thru right click of mouse, then button doesn't get enable.
I hope now u can understand the situation, Please help me.
umesh.
Originally posted by Maulin Vasavada:
hi Umesh,
can you please explain your situation in more details to me? like - which JavaScript eventhandler you are using (like onBlur event or something).
actually, i face some similar problems on various browsers for this mouse activity. what happens to me is- i want to have a field disabled and the data can be entered into it by a popup. now, to make it work fine on all the browsers i can't use DISABLED property for the HTML text element so what i do is onFocus='this.blur();'. the problem is 'tabbing' thing makes me look dumb because when i press tab then it goes into the field and we can type in !!! which i don't want. it works fine if i try to put mouse on the text field (it doesn't allow me enter anything)....
anyways thats not a problem to post here though..
regards
maulin