Re: [jQuery] Re: Extracting content from a div?

2010-01-11 Thread John Arrowwood
If the html is in a string, e.g. 's': $(s).html() would return everything inside the outer div. If it includes more than just that error, you can do something like: $(s).find('div.error').html() On Mon, Jan 11, 2010 at 6:42 AM, youradds andy.ne...@gmail.com wrote: Hi, Thanks for the reply.

Re: [jQuery] Re: Extracting content from a div?

2010-01-09 Thread Leonardo Balter
2010/1/9 youradds andy.ne...@gmail.com Hi, Thanks. Ok, I have this string (for example): html head/head body bit of other junk here, and maybe other divs and stuff div class=error ul liGast