views:

306

answers:

1

I have a textbox in an Ajax ModalPopUp. Occasionally, whenever the modal is loaded, the textbox freezes in Firefox. It's not happening in Internet Explorer - just Firefox. Any suggestions?

A: 

Maybe, just maybe, it's because you have some code that clears the Textbox just before the dialog is shown? And maybe, just maybe, that code goes into a loop? I've seen many places where this happens - that a Textbox is both written-to and read-from. And when too many GUI updates are happening, Firefox can take much longer, and even peg the CPU at 100%, before resuming activity. MSIE doesn't do this as often - it either crashes or just delivers stale data from the Textbox.

Remove the code that clears the textbox and that should help. Good luck!

scraimer