Call javascript function from JSP
843835Feb 8 2002 — edited Jul 22 2007Hi -
All I want to do is call a javascript function from within a JSP without having any buttons or hrefs - Basically I am using the JSP to take a message string from a servlet and put it in an alert box.
I have the function ready to go in javascript but no idea on how to call it except from a button.
Anyone know how to do this?
Thanks!
Beth