alert( $(content).html() ); --------------------------------------------------------- html code: <div id="content"> <a id="link" href="http://www.google.ca" target="_new">test link</a> <a id="link2" href="http://www.google.ca" target="_new">test link2</a> </div> --------------------------------------------------------- it will return in IE6 <A id=link href="http://www.google.ca" target=_new>test link</A> <A id=link2 href="http://www.google.ca" target=_new>test link2</A>
--------------------------------------------------------- can we get the html with double quote around the html attribute ?