How to retrieve the text given in any field using javascript in C#?

```
sumry.innerHTML += "<li>" + f.getAttribute("Text") + "</li>" + "<br/>";
                        f.style.borderColor = "#FF0000";
                        f.focus();

```