Jump to content

Ajax form submission in IE(8)


Rain Lover

Recommended Posts

What happens when you try it in Internet Explorer 8?I was under the impression that jQuery takes care of cross-browser problems. Perhaps you have use an uppercase or lowercase letter in the URL you're requesting where it shouldn't go. Edit: Oh, wait a moment. You can't use AJAX for cross-domain requests. Perhaps newer browsers support it in some form, but older ones don't.

Link to comment
Share on other sites

You can't use AJAX for cross-domain requests. Perhaps newer browsers support it in some form, but older ones don't.
You're right! But I don't know why it works in IE8 as well if I add dataType: 'script' to my code. Edited by Rain Lover
Link to comment
Share on other sites

Have you looked up what the dataType property does? I have a feeling that it creates <script> tags, which can actually be cross-domain. It only works, though, if the file you're trying to call is a Javascript file.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...