tags:

views:

72

answers:

3

On the form is textbox in which the site address is entered(http://localhost.com/index.html). I want that in listbox contents of tags were output. How it can be made?

A: 

The Html Agility Pack is probably your best bet.

TrueWill
A: 

If you want to output tag content (HTML), you can do this on the client side, because each parent node can reference its entire child content via the innerHTML or outerHTML properties. This returns the entire contents as a string, which you can assign its contents:

var a = document.getElementById("Test1"); document.getElementById("TextBox").value = a.outerHTML;

Brian
A: 

Ok, thanks(...)

Dobermann