I have a javascript
code below which gets me the value on button click. The values are of row from the gridview.
What happens is, whenever I click on the button
. it takes me to another page. there I want to fill Circle
value in the textbox
Here is my code below. I don't know how to fill the textbox
. Please suggest
function FillINFOTOPAGE(val) {
var row = val.parentNode.parentNode;
var SapId = row.cells[0].innerText.trim();
var Circle = row.cells[8].innerText.trim();
window.open('UserDataUpdate.aspx', '_blank');
}
Another page html:-
<span>CIRCLE :</span>
<input type="text" id="txtCircle" style="width: 80px;" />