Thursday, October 29, 2009

Re: [jQuery] Just discovered something

The most likely reason is that do is a JavaScript "Key Word"

On Thu, Oct 29, 2009 at 12:53 PM, lionel28 <lmartelly@haitiwebs.net> wrote:

I am sure most of you guys already know it, but I just found out that IE does
not like the word "do"

I was doing an ajax called and I had

       data: {
       do : "uploadgame"

and I kept on getting that error

expected identifier, string or number,

Once I changed that 'do' into something else, it was fixed in IE
--
View this message in context: http://www.nabble.com/Just-discovered-something-tp26110812s27240p26110812.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.


No comments: