i got this code:
how can i make it run asp code while the js running?Code:<script type="text/javascript"> function displayContent(){ newwin=window.open('','win','left=100,top=100,widt h=250,height=180') newwin.document.write('<HTML>\n<HEAD>\n') newwin.document.write('<TITLE>Pddsd sdsddsds rint Page</TITLE>\n') newwin.document.write('</HEAD>\n') newwin.document.write('<BODY><center>\n') newwin.document.write('?') newwin.document.write('</BODY>\n') newwin.document.write('</HTML>\n') newwin.document.close() } </script>
Code:<% dim mysqlm, connasa, connstringasa, vabo, namo vabo = request.cookies("devUserName") Set connasa = Server.CreateObject("ADODB.Connection") ConnStringasa =SQL STRING Connasa.Open ConnStringasa namo=Time() mySQLm="UPDATE crmagents SET online='" & namo & "' WHERE username='" & vabo & "'" connasa.execute(mySQLm) Connasa.close set Connasa=nothing %>



Reply With Quote
Bookmarks