Menu
I have a page with a detailsview containing a number of template fields, displaying data in asp:text boxes. I now want to use JavaScript to take the values and pass them back to the parent/opening window, but I’ve hit a few issues.
The detailsview is called detailsview1 and the text box holding the data is called txtFinalFname. I am then trying to access the value with
[B]document.form1.DetailsView1.txtFinalFname.value[/B]
but getting a JavaScript error “[I]document.form1.DetailsView1.txtFinalFname is null or not an object
How can I gain access to this data to pass it back to the parent window?
Thanks