Hi,
I have an HTML page I've divided into 2 sections: form1, and form2.
In form2, I have a button that's defined as the following:
... form1 defined....
... form2 defined
<input type="button" value="add payment --" name="back" style="font-size:10px;" class="flat" onclick="document.location.replace('paymentedit.cfm?newpayment=#paymentid#&paymentid=#paymentid#');">
... end of form2
When this button is clicked the form submits to itself.
I want to place an anchor for my form2 section, but I'm not sure how to do that with having this button defined the way it is with the onclick. (I have to keep the onlick to get the correct functionlaity.)
I'd like the focus to return to this section.
Thanks in advance for any help.
soho34
I have an HTML page I've divided into 2 sections: form1, and form2.
In form2, I have a button that's defined as the following:
... form1 defined....
... form2 defined
<input type="button" value="add payment --" name="back" style="font-size:10px;" class="flat" onclick="document.location.replace('paymentedit.cfm?newpayment=#paymentid#&paymentid=#paymentid#');">
... end of form2
When this button is clicked the form submits to itself.
I want to place an anchor for my form2 section, but I'm not sure how to do that with having this button defined the way it is with the onclick. (I have to keep the onlick to get the correct functionlaity.)
I'd like the focus to return to this section.
Thanks in advance for any help.
soho34