Hey i have an html string i\'m having trouble getting the tags from.
I have tried alot of stuff, here are some :
var head = $(\"head\",$(htmlString))
may be this can help you
var head = jQuery('').append(htmlString).find('head').html(); var body = jQuery('').append(htmlString).find('body').html();