Hi John,

Thanks for the reply.
But I don't want to take the hassle of traversing & constructing the
html tags & attributes.
Firebug can do that, so why wouldn't we use it? :)
At least how to get the html tags & attribute using firebug's code
(just like what console.dirxml or html panel do)?

Best Regards,
Ronald Stevanus

On Nov 10, 11:36 pm, John J Barton <[email protected]>
wrote:
> On Nov 9, 9:31 pm, ronald29x <[email protected]> wrote:
>
> > Hi,
>
> > How to get the value of console.dirxml(node)? I mean by default it
> > will print the value to the console. But I want to get it as a string
> > so I can display it elsewhere eg. inside a div or textarea.
>
> > And what should I pass for the parameter to get all of the html tree,
> > just like in the html tab?
>
> If you want to do things with HTML nodes in your page, just use the
> HTML DOM APIs. That is what we do ;-).  The console API is there to
> support sending info into Firebug console.
>
> jjb
>
>
>
> > thank you,
> > Ronald Stevanus

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to