i have a main.jsp file whose <body onload="doSomething()"> works perfectly on its own.
however, if i instead call AAA.jsp which includes/embeds 2 jsp files (main.jsp and menu.jsp), the onload of main.jsp no longer works. i suspect it is because AAA.jsp also has its own onload function and for...
Just wondering, in code such as the one below, what exactly does the "return false" do?
function clearForm(){
document.form1.firstname.value="";
document.form2.lastname.value="";
}
<input type="image" src="clear.jpg" name="clear" onClick="clearForm();return false;">
I have "order.jsp" with a bunch of textboxes where user inputs some
data and "confirm.jsp" which extracts user input and displays it on
screen for verification.
here is my problem: on "confirm.jsp", i have a button called "change"
that should go back to the order.jsp with the user's original...
I have a StringBuffer object in B.jsp that collects various String objects passed from some A.jsp and displays it on the screen.
B.jsp:
String name_input = request.getParameter("name");
String address_input = request.getParameter("address");
String comment_input =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.