jquery solutions to post to another site from static html page -
need post data static html page page hosted on domain. i'd create , iframe form inside of post method, , actions directed web page, , submit form. complexity i'd collect data static html page , create similar (replica) form inside iframe (with above attributes viz method & action mainly); if there lot of fields i'd struggle via javascript alone. there jquery solutions thing?
you try using jsonp alternative method. quick overview of jsonp can found on wikipedia (http://en.wikipedia.org/wiki/json#jsonp). jquery implements jsonp support through .getjson method (http://docs.jquery.com/ajax/jquery.getjson).
unfortunately, use jsonp need submit form data query string (get request, instead of post request). can serialize form query string using jquery's serialize method (http://docs.jquery.com/ajax/serialize).
Comments
Post a Comment