> 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 something wrong with my code? > Here's the code I've got > [code] > success: function(response){ > var bidDate=$('li.show', response).attr('id'); > alert(bidDate); > $('div.#holdForecast').html(response); > [/code]
What is 'response'? Is it XML? HTML? A document? A fragment? If it's an HTML fragment what does it look like? Just a bunch of LIs?