i have a form with lots of data, and when they click on a button it
calls some javascript which sets values in hidden fields then posts to
itself (usual stuff)
now the problem is that i would like to bring the page back to the
same spot after the submit (as its very long)
Ive added anchors to each button but if i add a the anchor tag to the
action part of the form, im always one click behind, ie it jumps to
the one I clicked on before. ive tried using location header etc
calling itself and appending #anchorname to the end of the url, but
then i lose the data in the form, as no $_requests have data any more.
so what i need is when you hit a button, sumit the page && go to the
correct anchor. is this possible
Niall
calls some javascript which sets values in hidden fields then posts to
itself (usual stuff)
now the problem is that i would like to bring the page back to the
same spot after the submit (as its very long)
Ive added anchors to each button but if i add a the anchor tag to the
action part of the form, im always one click behind, ie it jumps to
the one I clicked on before. ive tried using location header etc
calling itself and appending #anchorname to the end of the url, but
then i lose the data in the form, as no $_requests have data any more.
so what i need is when you hit a button, sumit the page && go to the
correct anchor. is this possible
Niall
Comment