html - I want to use an online website using my vb.net application -


i have application deals website flipcss.com.

for "or paste css:" text add text element id

webbrowser1.document.getelementbyid("css_data").innertext = textbox1.text 

and click "flip css" button use code

webbrowser1.document.forms(0).invokemember("submit") 

but results or "generated" text, cannot application because doesn't have id.

the html inspector has

<textarea class="form-control" name="css_data" rows="10" dir="ltr"> 

i want bring generated text text box.

after searching , editing found it

for each h htmlelement in webbrowser1.document.getelementsbytagname("textarea")             if not object.referenceequals(h.getattribute("dir"), nothing) andalso h.getattribute("dir").equals("ltr")                 textbox2.text = h.innertext                 exit             end if         next 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -