Expand|Select|Wrap|Line Numbers
- <textarea rows="2" cols="20" name="emailto" ID="Textarea2"><%=emailto%></textarea><input type="button" onclick="javascript:window.open('page2.aspx?returnto=document.form1.Textarea2&forms=yes&Action=EmailTo','', 'width=600px,height=400px,scrollbars=1,top=100');" value=">" name="findemail" ID="Button2">
Expand|Select|Wrap|Line Numbers
- Dim valretto As String = Request.QueryString("returnto")
- Dim current As String = Request.QueryString("current")
- TxtValue.Text = e.Item.Cells(3).Text
- Dim strjscript As String = "<script language=""javascript"">"
- strjscript &= "window.opener.getelementbyID(" & valretto & ") = '" & TxtValue.Text & "" + "," + " " & current & " ';window.opener(" & valretto & ".focus();self.close();"
- strjscript &= "</script>"
- Literal1.Text = strjscript
- e.Item.Cells(0).Attributes.Add("onclick", "strjscript;self.close();")
Is this something to do with the textarea?
Thanks!