vb.net - change input value of hidden input in current document webbrowser -
here html
<input type="hidden" name="visited" value="aw5kzxgucghwpw==" />
vb.net
dim pageelements htmlelementcollection webbrowser1.document.getelementsbytagname("input") each curelement htmlelement in pageelements if curelement.getattribute("name") = "visited" curelement.setattribute("value", "hhhhhhhhhhhhhhhhh") end if
i want change value of input on current document webbrowser user in next action new value
you can change input value javascript.
var input = document.getelementbyid('visited'); input.value ="your new value";
you need set id of hidden field
Comments
Post a Comment