jsp:java script
Hi, i hav some java script function like this
function calImageFun()
{
window.alert("You are in callImageFun()");
<% some java code
%>
}
i call this from a JSP page CommandButton. when i click this button the funtion should be called. that is my intent.
but when i'm loading the jsp page the function called automatically with out clicking the button. and when clicking the button nothing happens.
Thanx for u'r help

