Hi,

I just found the main reason for the problem : event bubbling.
When applying the click() function to the input field the event starts
bubbling, hits the li element, fires the click() event again and so
the stack in FF is filled up until the error shows. Simple check for
an applied class before applying the rest of the function prevents the
recursive loop.

On 9 Май, 22:50, MC Lueppers <mdob...@gmail.com> wrote:
> Hi Matt,
>
> thanks for the response, but actually this was already clear for
> me ;). Most importantly I need a workaround for it. I already tried
> the following too:
>
> var plan_price = obj.find("input[name='plan_price']:radio");
>         plan_price.each(function() {
>                 $(this).click();
>         });
>
> and there is no change. The error is thrown in the obj.find("input
> [name='plan_price']:radio") statement. I tried changing to obj.children
> ("input[name='plan_price']:radio") gives no result.
>
> On 8 Май, 20:39, Matt Critchlow <matt.critch...@gmail.com> wrote:
>
> > obj.find("input[name='plan_price']:radio").click(); //is creating the
> > recursive loop
>
> > On May 8, 12:59 am, MC Lueppers <mdob...@gmail.com> wrote:
>
> > > Hi,
>
> > > I'm in a development phase of a file sharing portal and I have a
> > > problem with jQuery on the following 
> > > page:http://share.home.hive-net.net/pricing. In Firefox I get an error 
> > > "too
> > > many recursion" when changing the plans. Can you please help me get
> > > rid of it?
>
> > > Thanks in advance,
> > > Martin
>
>

Reply via email to