|
Did I pop up a form by clicking a button in the row?
Then you add in the passed parameter of that button, this.id of this button.
For example, the name of your Textbox in the template column is: Txt1; the name of the button is: btn1
Then you need to add a parameter to your btn1 click event (you will write this event), it is best to write it in the script, for example, window.open ("a. apsx? id = "+ this.id.replace (" btn1 "," Txt1 ")), this.id is the resolved id name of the button (which may be a very long one), and then you replace it That's it, so what you pass is the ID of Txt1.
Then you can write directly to that ID over there.
window.opener.document.all. [The ID of Txt1 passed in]. |
|