[jQuery] Re: Look for

2009-03-19 Thread so.phis.ti.kat
find('.someclass'). > > cheers, > - ricardo > > On Mar 17, 10:02 pm, Eric Garside wrote: > > > As an aside, you can use a different syntax for .find() which last I > > knew was a bit faster and less characters: > > > $(this).find('.someclass&#

[jQuery] Re: Look for

2009-03-17 Thread so.phis.ti.kat
d so evaluate to true; you need > to check the length: > >  if ($(this).find("ul").length>0) { ... > > On Mar 17, 8:57 am, "so.phis.ti.kat" wrote: > > > Hello Everyone, > > I tried doing a search and found some possible solutions but was no

[jQuery] Look for

2009-03-17 Thread so.phis.ti.kat
Hello Everyone, I tried doing a search and found some possible solutions but was not able to get it working for my markup so I am wondering if the following can be done and how. Markup index menu ... catering ...

[jQuery] Re: Update DIV

2009-03-15 Thread so.phis.ti.kat
success: function(d){ $("#nav").html(d); } }); } and... HOME MENU CATERING CONTACT ... and that worked. So how can I use jQuery to repeat my ajax call (s)? On Mar 15, 10:04 pm, "so.phis.ti.kat" w

[jQuery] Re: Update DIV

2009-03-15 Thread so.phis.ti.kat
g if it is because I am using jQuery to enable my clicks? On Mar 13, 1:23 pm, "so.phis.ti.kat" wrote: > Thanks Guys. > I'll have a look now. > > On Mar 11, 1:31 pm, Paul Hutson wrote: > > > > > Ajax.Updater allows you to simply update the content of a

[jQuery] Ajax Update

2009-03-13 Thread so.phis.ti.kat
Hello Everyone, I am doing some research on JavaScript library, concentrating on jQuery / MooTools and Prototype JS and I was wondering what is jQuery's equivalent to Prototype JS's Ajax.Updater. A simple method to update an id selector; this nav contains an "active" class to highlight and deact

[jQuery] Re: Update DIV

2009-03-13 Thread so.phis.ti.kat
Thanks Guys. I'll have a look now. On Mar 11, 1:31 pm, Paul Hutson wrote: > > > Ajax.Updater allows you to simply update the content of a DIV. > > If you want to go back to the super simple, you can update the inner > content of a div with: > > $("#DIVID").html("CONTENT"); > > i.e. : > > > > $

[jQuery] Update DIV

2009-03-11 Thread so.phis.ti.kat
Hello Everyone, I am looking to see if I should switch to jQuery but first need to find jQuery's equivalent to Prototype JS's Ajax.Updater; new Ajax.Updater("id", url, {method: 'post', parameters: pars}); Ajax.Updater allows you to simply update the content of a DIV. ps. I did find his plugin