[jQuery] Re: simple getting elements from ajax response not working

2009-02-14 Thread Mike Alsup
> Hi Mike, > > yes, the response is an html with just a bunch of li's with a bunch of > other within each li. Ok, then I would think this should work: success: function(response) { var $li = $('').append(response).find('li.show'); var id = $li.attr('id); ... }

[jQuery] Re: simple getting elements from ajax response not working

2009-02-14 Thread pedalpete
Hi Mike, yes, the response is an html with just a bunch of li's with a bunch of other within each li. On Feb 14, 3:40 pm, Mike Alsup wrote: > > The 'html(response) gets filled with ther response, but I can't get > > either html or attribute id from the li. > > The response has 10 li's, so I'm

[jQuery] Re: simple getting elements from ajax response not working

2009-02-14 Thread Mike Alsup
> The 'html(response) gets filled with ther response, but I can't get > either html or attribute id from the li. > The response has 10 li's, so I'm trying to get all of them, but > figured I would do an 'each' or something if I could just manage to > grab one. But I can't get that work? > Is there