Click to See Complete Forum and Search --> : javascript form post


roger5089
July 30th, 2007, 08:29 AM
Dear all
i would like to aks some one does it is possible to post form for a to b and in b page can reture the data which is from a to b ?
the reason is i have one a page need to use 2 form at the time . some time could a occure data loss some i need the data return back from a and then the data is current and then post other form

thanks

PeejAvery
July 30th, 2007, 09:10 AM
Sorry, your post is not clear. So, let's try to clarify some things. Is the following correct?

You have two forms on one page. When you submit one, it will take that data to a new page, but the other forms data is not sent because it is a different page? Now you want to retain that other data?

roger5089
August 2nd, 2007, 11:40 AM
Sorry, your post is not clear. So, let's try to clarify some things. Is the following correct?

You have two forms on one page. When you submit one, it will take that data to a new page, but the other forms data is not sent because it is a different page? Now you want to retain that other data?

thank's PeejAvery just like what you said , so does any idea i can fix this problem

PeejAvery
August 2nd, 2007, 11:03 PM
In that case, I would suggest using a hidden iframe and setting the form target to that frame. Then it will submit the data and the page will be uninterrupted.

<iframe name="theframe" width="0" height="0" frameborder="0"></iframe>

<form target="theframe">