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

后端 未结 3 901
夕颜
夕颜 2021-01-26 14:40

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 15:07

    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/

提交回复
热议问题