[jQuery] $.ajax({..}) throws syntax error in IE7

2009-06-07 Thread Gaz
}); The error is on the first line $.ajax({ This code works perfectly well in all the other browsers I've tested it on (FF Mac, FF Windows, Safari Mac). Anybody got any ideas as to what the problem is? Cheers, Gaz.

[jQuery] Re: Passing array to $.ajax()

2009-02-27 Thread gaz
Have recently found a solution to this problem: $.post() accepts a JavaScript object for post data e.g. {name1 : value1, name2 : value2}, but you need to specify the same object property multiple times. Therefore you can create this property once, put an array into it and then push your values in