Form is submitted and action performed without page refresh
Anand Java
Greenhorn
Joined: Sep 25, 2007
Posts: 1
posted
0
Hi, In jsp,servlets & struts project.. when I append # symbol with the action and submit that,action is performed and page is loaded without any page refresh.
code in javascript: document.forms[0].action += "#abc";
I am not sure that why this happen. Any one please tell me the reason.
We're pleased to have you here with us here on the ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. You can change it here [ September 25, 2007: Message edited by: Ben Souther ]