i am using vb.net on the website there is same id textbox but when i am writing
WebBrowser1.Document.All("username").SetAttribute("value", username)
its writen different textbox with same id "username"
<input name="username" id="username" type="text" class="user" autocomplete="off"
placeholder="Kullanici Adi">
i need to reach second field but i couldnt reach
<input type="text" id="username" class="input4"
autocomplete="off" name="username" value="" required=""
data-required="" data-pattern="^[a-zA-Z][a-zA-Z0-9]+$"
data-minlenght="6" data-maxlenght="12"
onkeyup="clearNonAlphaNum(this)">

please help me

Change the id of one of the inputs, perhaps?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.