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 input
loaded on the textboxes so that user may edit his original input.
i tried this code and it does not work - it goes back to the
previous page but all the textboxes are empty:
however, if i click on the browser's "back" button (I am using IE), it
works the way i want it to - the user input is loaded in the textboxes.
how do i accomplish this through javascript?
thanks,
AB
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 input
loaded on the textboxes so that user may edit his original input.
i tried this code and it does not work - it goes back to the
previous page but all the textboxes are empty:
Code:
<input type="image" src="/images/change.jpg" border=0 name="Change" onclick="window.history.back()">
however, if i click on the browser's "back" button (I am using IE), it
works the way i want it to - the user input is loaded in the textboxes.
how do i accomplish this through javascript?
thanks,
AB