Brenda,
You can use the 'script' tag to signify javascript code in a JSP or HTML
file (coded within the Head, referenced in the Body).
Example:
<HEAD>
<TITLE>SomeTitle</TITLE>
<SCRIPT language="javascript">
function functionName(parameters){
***** function code goes here **** }
</SCRIPT> </HEAD>
Hope this helps.
Scott
>From: Brenda Tung <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: use javascript in jsp
>Date: Fri, 28 Apr 2000 17:04:14 +0800
>
>May i ask if i can use javascript in jsp. if yes, do i use java tags?
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets