Need help filling textbox in a webpage
I have been struggling very much trying to figure out how to get my vb program to enter a comment into myspace's comment box...
I am trying to get this working cause I am managing some myspace pages for some bands/artists and would like to automate the commenting for new friends.
When I automate the filling of a webpage's textbox, I use this kind of code:
Code:
webbrowser1.document.getelementbyid("HTML ID/NAME").setattribute(value, mycomment.text)
But this seems to not work with the html elements on myspace's comment textbox...
The html code I found for myspace's comment box is this:
Code:
<div contenteditable="true" class="smartEdit" data-tip="Post a comment...">Post a comment...</div>
If anyone can please help me figure out what code to use to get the vb program to fill out the comment box on myspace, that would be greatly appreciated.
Thanks in advance,
David
Re: Need help filling textbox in a webpage
Using a WB control any other way other then |an UI element should not be done