hi Guys , I know what should you do , $('#menu li:first a').remove() this is the code you need , jquery has no problem when you use this code $('#menu li a:first').remove(); the selector checks each li and removes the <a> so all of the links will be removed so in your case your code should look like this $('#menu li:first a').remove(); the selector selects the first li and removes the <a> that set, I am just following john Resig in twitter it seems he is going to release jquery 1.3.1 maybe he found some little bugs .
On Jan 17, 2:37 pm, Charlie22 <ch...@post.cz> wrote: > ok, thx for your help guys, because it made me crazy for a while and > thx for your bug report jQuery Lover. I am new pretty new and jQuery I > am using 2-3 weeks and it is great TOOL!!! > > On 17 Led, 20:33, jQuery Lover <ilovejqu...@gmail.com> wrote: > > > Submitted a ticket:http://dev.jquery.com/ticket/3903 > > > Let's see what happens :) > > > ---- > > Read jQuery HowTo Resource - http://jquery-howto.blogspot.com > > > On Sun, Jan 18, 2009 at 12:32 AM, Charlie22 <ch...@post.cz> wrote: > > > > so why it doesnt work?? is it jQuery bug? > > > > On 17 Led, 20:30, jQuery Lover <ilovejqu...@gmail.com> wrote: > > >> It is... > > > >> ---- > > >> Read jQuery HowTo Resource - http://jquery-howto.blogspot.com > > > >> On Sun, Jan 18, 2009 at 12:27 AM, Charlie22 <ch...@post.cz> wrote: > > > >> > yes, that is what I said..not working, so I have to replace any > > >> > scripts. I thought that "#menu li a" is regular CSS selector...or > > >> > not??