So, I’m building an editor in Javascript with some Ajax. It started off as a proof-of-concept, and it worked great in both MSIE and Firefox. Basically, the editor keeps track of multiple types of things, and each type has its own input form that appears and disappears dynamically. When I only have 2 or so of these input types, it’s great. Works like a charm. But when I put in another 4 of them (6 total), it starts slowing down MSIE. But it slows down strangely.
The thing is that any clickable object takes about a full second before the click registers. As an example, I put this in to test the theory:
[CODE]<A HREF=”Javascript:alert(‘foo’)”>Foo!</A>
And sure enough, in MSIE, it takes about a second after clicking before I get the alert popup. Firefox works fine. MSIE, slow-as-all-get-out.
Because I haven’t added *functionality*quantity
If that’s the case, is there any way to temporarily disable these listeners (IE only enable them when they’re visible)? And if it’s not the case, anyone have any ideas as to why it would be so slow to register a click in MSIE, but not Firefox? What is it that could be slowing down the browser to register a simple click?
DaveE