Oops, wrong URL. This is the right one:

http://plugins.jquery.com/project/outerhtml

On Feb 2, 9:59 pm, Ricardo Tomasi <ricardob...@gmail.com> wrote:
> Try this:
>
> http://yelotofu.com/2008/08/jquery-outerhtml/
>
> On Feb 2, 7:13 am, Andy789 <e...@abcstudio.com.au> wrote:
>
> > Hi All,
>
> > I need to get html for a dom structure like this:
>
> > <div id="test">
> > <div id="test2">something</div>
> > <img ....../>
> > </div>
>
> > if I use
>
> > $('div#test').html();
>
> > it generates its innerHTML excluding <div id="test">
>
> > How an I get the whole structure including id test?
>
> > thanks

Reply via email to