Submit form from an offline webpage to server using jquery
I have created an HTML Autorun which run from a CD, there is a contact form in it. How can I submit it to my server? I think the common orgin problem is creating issues for me. None if the jquery ways seems to work.
开发者_Python百科UPDATE: I want to submit by ajax, jquery will first check if internet is connected and then submit. The autorun will be loaded in XULRunner bundled in the CD so running javascript won't be an issue.
I think that the traditional
<form method="post" action="http://yoursite.com/contact.php">
should work. Altough I never sent data to another domain like that before.
How about this idea?
Have a Shortcut which will open the contact form hosted in your site in a web browser.Users can then submit their details via the online form.
精彩评论