Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Break Deadlock ? Urgent Please Help!

Status
Not open for further replies.

ajindal

Programmer
Oct 7, 2003
11
IN
Hi,
Consider a situation where I have a text box and a checkbox. I change smthng in textbox and then its "onBlur" event is fired in which I make checBox.checked=true and checkBox.disabled=true.
What happens is that if I use the tab button (when the cursor is in the textbox) everything works fine. But instead of using the tab I use the mouse and click its left button in the checkbox, the IE hangs and I can't do anything. Everything starts working only if I do some other event like opening another window or maximizing-minimizing the same window, then evrything starts working.
Please help me with this situation. I have tried using attachevent etc. but nothing seems to work. I personally feel that the window hangs due to checkbox.disabled=true. I removed it and the observation was that when I cluicked on the checkbox, first the checked signed appeared and then disapperared .
 
post the code involved, hypothesis' aren't worth the paper their written on :)

Posting code? Wrap it with code tags: [ignore]
Code:
[/ignore][code]CodeHere
[ignore][/code][/ignore].
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top