AJAX submit form to remote URL and extract URL from XML reponse

后端 未结 3 1715
走了就别回头了
走了就别回头了 2021-01-26 14:19

I am new to JavaScript and Ajax.

I have a form which posts to remote url and returns a XML response containing some data and a URL. I need to extract the url and redirec

3条回答
  •  终归单人心
    2021-01-26 14:59

    I agree that jQuery is a good way to go about this and I recently discovered this very handy plug-in which will allow you to retrieve data from other sites. Perhaps you can grab the url this way and then work with it?

    http://james.padolsey.com/javascript/cross-domain-requests-with-jquery/

提交回复
热议问题