| Sign In/My Account | View Cart |
| Article: |
Enhancing ASP.NET Pages with JavaScript | |
| Subject: | JavaScript for other ASP.NET | |
| Date: | 2006-01-26 10:22:21 | |
| From: | cbran | |
|
Response to: JavaScript for other ASP.NET
|
||
|
I copied and pasted your example to open a window, and received error: string constants must end with a double quote. The pop_window routine is called from an asp:button. Here is your example: Sub pop_window(Sender As Object, e As EventArgs) Dim popupScript As String = "<script language='javascript'>" & _ "window.open('PopUp.aspx', 'CustomPopUp', " & _ "'width=200, height=200, menubar=yes, resizable=no')" & _ "</script>"
|
||
Showing messages 1 through 5 of 5.
If you know what the cause and how to resolve this please share with me. Thanks in advance