Start a new topic

Value property textbox

How get value of textbox?

I am using HTMLElement and it has'nt value.

1 Comment

HTMLElement is a base class that doesn't have the 'value' field. Try to cast the element to HTMLTextAreaElement and then you'll have that field, like this:

 

((HTMLTextAreaElement)Global.document.getElementById("textBox")).value

 

Login or Signup to post a comment