...
out.println("<HTML><HEAD>");
out.println("<script language=javascript>");
out.println("fuction hello()");
out.println("{confirm("+"Are U there"+");}");
out.println("</script>");
....
out.println("<input type=button value=Click onclick="+"hello()"+">");
...

Should be ...

out.println("<HTML><HEAD>");
out.println("<script language=javascript>");
out.println("function hello()"); // not fuction
out.println("{confirm(\"Are U there\");}");
out.println("</script>");
....
out.println("<input type=button value=Click onclick=\"hello()\">");

Hope this helps,

Giscard

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to