Jquery ajax call on checkbox fails in ie, works fine in Chrome and Firefox?

Up vote 0 down vote favorite share g+ share fb share tw.

The following ajax call, made from a checkbox, somehow fails in Internet explorer, while it works in Firefox and Chrome. (copied from chrome's console) Checking the server access logs proves that IE does in fact make the call, so I concluded it must be a problem in the handling afterward. I have been looking for hours now, but I can't find the problem.

Probably not relevant: The ajax call in question is generated by the php framework symfony, using the jq_remote_function function. Tested in: IE 9 - Fails, IE 8, emulated by IE9 - Fails IE 7, emulated by IE9 - Fails Chrome 13.0.782.99 - Works Firefox 5.0 - Works Does anyone see whats wrong here? Thanks in advance!

Jquery ajax internet-explorer checkbox link|improve this question asked Jul 28 '11 at 12:24Lg10234318 87% accept rate.

Check your view sourse. Console is interpreted, so may not show something obvious. – Alan Whitelaw Jul 28 '11 at 12:26 I have done that now, both show identical code.

– Lg102 Jul 28 '11 at 12:30.

I havn't tested this. Try renameing the ID to start with a letter: Naming rules: Must begin with a letter A-Z or a-z Can be followed by: letters (A-Za-z), digits (0-9), hyphens ("-"), underscores ("_"), colons (":"), and periods (". ") Values are case-sensitive More info: ID attribute.

That is indeed true. I have however just found that my problem is related to IE somehow not being bound to a session created by an earlier ajax call. The response of this call depends on that session.

I'll accept your answer later on though, since it points out the flaw in the current syntax. Thanks. – Lg102 Jul 28 '11 at 13:48 Glad it is solved, I couldn't see any jQuery errors!

– Alan Whitelaw Jul 28 '11 at 13:50.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions