thankss!! now it's working!
On 17 dez, 16:39, real <[EMAIL PROTECTED]> wrote: > And $('.class a') wouldn't find the anchor tag. It would be $ > ('a.class') > > On Dec 17, 12:41 pm, "Lourenço" <[EMAIL PROTECTED]> wrote: > > > Hello, > > > i need get the this's parent div, something like this: > > > <div> > > <a href="#" class="close">Close</a> > > </div> > > > and in code.. > > $(".class a").click(function(){ > > $(this < div).slideUp(); //here > > > }); > > > that way many buttons will work with no ids and with the same code! > > how can i do it? > > i don't wanna use ids... > > > sorry my bad english > > thanks!