4

i been using the following code for some time now and it has worked ok on ie6-8 and firefox 3.

$("#article").livequery(function () {
    $("#article").rte({
        cssUrl: "css/rte.css",
        mediaUrl: "css/rte/",
        listenToClass: "send"});
    });

but now that i have upgraded to firefox 3.5.2 it enters an infinite loop adding rte boxes. could that be realted to the code itself or an incompatibility with new firefox??

RaYell
  • 69,610
  • 20
  • 126
  • 152

1 Answers1

0

Jquery live has replaced livequery for quite some time now. Since version 1.4.

In the newest version of jquery 1.7+ .on() is now the recommended function for event delegation.

I'm not sure what event you are trying to bind to in your example, but I'd take a look at .on, or .live() or .delegate() if you are using an earlier version.

Patrick Lee Scott
  • 8,217
  • 3
  • 36
  • 42