[jQuery] Re: End of animation

2009-08-05 Thread Mathieu
Thanks for your answer Leonardo. The callback is not called once. $("#menu li:not(.selected)").animate({ marginLeft: "-200px" }, function() { $("#menu").hide(); alert("Hello"); }); Hello gets printed many times. -- Mathieu On

[jQuery] End of animation

2009-08-05 Thread Mathieu
Hi all, I would like to know when a set of animations, started inside an "each" function, is finished. In the following example, how can I simply hide the whole #menu element once LI elements have been fully animated ? --- HTML One Two

[jQuery] Re: Jquery, Jsonp and UTF8

2008-01-18 Thread Mathieu
Sorry guys i found the problem. I had two jQuery includes : 1.2.2 and 1.1.3 inside the page :s Removing the 1.1.3 include solved the problem (i guess this is the explanation of the different behaviours i had between FF and IE).

[jQuery] Jquery, Jsonp and UTF8

2008-01-17 Thread Mathieu
Hi guys. I have an issue with jQuery using Jsonp and i would like to know if anyone may help. I'm using the getJSON function to call an URL on another domain; everything works fine except that the content i display in my callback function is displayed using UTF8 encoding with Firefox and ISO8859

[jQuery] Re: .GetJSON, retrieve a list of key/value from JSON object?

2007-12-19 Thread Mathieu Dumais-Savard
Thanks! That's exactly what I was looking for!!! What data_type really is myJSONobject??? Shouldn't this be included in the "datatype" section of the Jquery documentation under "JSON object" section??? Where can I find complete reference for this object? Thanks!

[jQuery] .GetJSON, retrieve a list of key/value from JSON object?

2007-12-19 Thread Mathieu Dumais-Savard
Hi, I have no problem using jSON so far except that I am looking for a way to "browse" the items sent from the server to the client in such fashion: foreach key (keys myJSONobject) { var value = (myJSONobject[keys]) ; } Any hint? Thanks!