[VB] Interacting with textarea on browser?

Monopoly

Very Active Members
Joined
Nov 2, 2009
Messages
2,286
Reaction score
12
Points
37
Location
The UK
This is probably pretty simple but I haven't been able to find a solution yet. I'd appreciate help if anyone can point me in the right direction at least.

I've been able to modify fields on the web browser using:
Browser.Document.GetElementById("password").SetAttribute("value", tbpassword.Text)
(/edit: yes this is for a password field not the description field shown below - just using it as an example)

and that sort of thing works fine. But I keep bumping into these pain in the ass textareas which don't have a value I can set.

HTML example:

<textarea maxlength="6000" id="description" name="description" cols="35" rows="13" class="required character-count" tabindex="3"></textarea>

How the heck do I write to something like this?

Help appreciated and thanks given.
 

Monopoly

Very Active Members
Joined
Nov 2, 2009
Messages
2,286
Reaction score
12
Points
37
Location
The UK
Than's for the link - I'll have a read through
 

hackgen

Make Money Online
Joined
Apr 17, 2011
Messages
69
Reaction score
0
Points
0
Browser.Document.GetElementById("password").SetAttribute("value", tbpassword.Text)
<textarea maxlength="6000" id="description" name="description" cols="35" rows="13" class="required character-count" tabindex="3"></textarea>
So id is different, try :

Browser.Document.GetElementById("description").SetAttribute("value", tbpassword.Text)