Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
This is the source code for the webpage I'm working on.
<input type="text" pattern="\d*" class="form-control number" maxlength="16" ng-model="NationalId">
<input type="text" pattern="\d*" class="form-control number" maxlength="16" ng-model="PrincipleCode">


And This is my code to send the data from the textbox to the web page browser1.ExecuteScriptAsync("document.querySelector('input[ng-model=NationalId]').value='" + TextBox1.Text + "'") browser1.ExecuteScriptAsync("document.querySelector('input[ng-model=PrincipleCode]').value='" + TextBox2.Text + "'")

What I have tried:

it works and sends the data, but when I press the enter button, it does not feel the written data and asks me to enter the data 
plz help me
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900