PDA

View Full Version : <%@ Language=Javascript%>



joecool2005
02-24-2006, 02:07 PM
On ASP page ,when I use <%@ Language=Javascript%> in the 1st line, how can I add ASP code after? Anytime I try to write a ASP code, it shows me error. How can I fix it? Is there anything I need to add to go back on ASP code?

Thx

Baeza
02-28-2006, 06:19 PM
On ASP page ,when I use <%@ Language=Javascript%> in the 1st line, how can I add ASP code after? Anytime I try to write a ASP code, it shows me error. How can I fix it? Is there anything I need to add to go back on ASP code?

Thx
why would you do that? always set it to <%@ Page Language="vb" > and then use this <script language ="javascript" ></script> for the javascript

Twey
02-28-2006, 06:59 PM
why would you do that?Maybe he doesn't want to use VBScript? :)