Mar 10, 2003 #1 Mun Programmer Joined Mar 5, 2003 Messages 46 Location US Can I write all the possible client side validations (JScript) for a webpage in a seperate file and include that in my ASP Page. Thanks in advance.
Can I write all the possible client side validations (JScript) for a webpage in a seperate file and include that in my ASP Page. Thanks in advance.
Mar 10, 2003 #2 JamesLean Programmer Joined Dec 13, 2002 Messages 3,059 Location GB Yes, you can include anything in an #include file. --James Upvote 0 Downvote
Mar 10, 2003 #3 FesterSXS Programmer Joined Feb 4, 2002 Messages 2,196 Location GB yes...put this in the HEAD section of your page Code: <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="text/javascript" SRC="your_js_file.js"></SCRIPT> Tony http://www.SpiraxSarco.com/cad Upvote 0 Downvote
yes...put this in the HEAD section of your page Code: <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="text/javascript" SRC="your_js_file.js"></SCRIPT> Tony http://www.SpiraxSarco.com/cad
Mar 10, 2003 Thread starter #4 Mun Programmer Joined Mar 5, 2003 Messages 46 Location US Thanks! Where does this line goes? <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="text/javascript" SRC="your_js_file.js"></SCRIPT> In in my ASP page, just below the # include stmt? Upvote 0 Downvote
Thanks! Where does this line goes? <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="text/javascript" SRC="your_js_file.js"></SCRIPT> In in my ASP page, just below the # include stmt?
Mar 10, 2003 #5 FesterSXS Programmer Joined Feb 4, 2002 Messages 2,196 Location GB Your ASP page builds a HTML file that it sends to the client browser. The HTML will look something like this... Code: <HTML> <TITLE>your title here</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="text/javascript" SRC="your_js_file.js"></SCRIPT> </HEAD> <BODY> ...rest of page here... Tony http://www.SpiraxSarco.com/cad Upvote 0 Downvote
Your ASP page builds a HTML file that it sends to the client browser. The HTML will look something like this... Code: <HTML> <TITLE>your title here</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="text/javascript" SRC="your_js_file.js"></SCRIPT> </HEAD> <BODY> ...rest of page here... Tony http://www.SpiraxSarco.com/cad