how would i do this?
mypage with button
---> button is clicked -->
form on another site is submitted
can this be done with xmlhttp?
[130 byte] By [
roger19] at [2007-11-11 7:25:24]

# 1 Re: how would i do this?
I would submit a form on your page to the destination of the other site's form. Look at the HTML of the other site and figure out:
- The destination of the form in question (the value of the form tag's action attribute) and,
- The names of the form's elements
Then create a form on your page that submits elements with the same names to the same destination. If you don't want the user to fill out the form, you can use hidden fields.
# 2 Re: how would i do this?
ive tried copying the form but it checks the referer page.
could it be done with an iframe that has the window with the form in it and a button on the parent page that would submit the form in the iframe?