Hello, I have a full html code in in a var:
str = 'full html code here starting with <html>'; and now I want to get the innerHTML of a div with an certain id. I tried that: $(var_name).filter('div#content').get(0).html() but that doesn't work. What's the right way?? thanks!