manne
asked on
asp to javascript variables???
I've a script like this,
<SCRIPT LANGUAGE="JavaScript">
<!--
function WinOpen2() { msg=window.open("thomas.ht ml","Butto nWindow"," toolbar=no ,width=420 ,height=26 0,director ies=no,sta tus=no,scr ollbars=no ,resize=no ,menubar=n o");
}
//-->
</SCRIPT>
and I want this (it doesn't work)
msg=window.open("ptext.asp ?addn="<%= rs("ok")%> ,
=============
Any solution???
<SCRIPT LANGUAGE="JavaScript">
<!--
function WinOpen2() { msg=window.open("thomas.ht
}
//-->
</SCRIPT>
and I want this (it doesn't work)
msg=window.open("ptext.asp
=============
Any solution???
what about something like this ?
msg = window.open('ptext.asp?add n=<%=rs("o k")%>','to olbar=no,w idth=420,h eight=260' )
msg = window.open('ptext.asp?add
What is the rs for? Is that referring to a recordset? If it is, you would need to do <%=rs.fields("ok") %> rather than <%=rs("ok")%>
Also, are you sure you are establishing a database connection if this is a recordset...
Also, are you sure you are establishing a database connection if this is a recordset...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
solved!
ASKER