[jquery-dev] selector on elements like id=name[2]

2009-04-14 Thread Mat Brennan
Hi all, Not sure if this is even relevant to the development side of the group. I've noticed if i have something such as: input type=text name=firstname[1] id=firstname[1] / input type=text name=firstname[2] id=firstname[2] / And then i use a selector such as $(#firstname[2]) then nothing is

[jquery-dev] Re: selector on elements like id=name[2]

2009-04-14 Thread DBJDBJ
http://www.w3.org/TR/css3-selectors/#attribute-selectors On Apr 14, 9:10 am, Mat Brennan loadx@gmail.com wrote: Hi all, Not sure if this is even relevant to the development side of the group. I've noticed if i have something such as: input type=text name=firstname[1]

[jquery-dev] $.ajax() will null data property in config object results in missing Content-Length header in FF3

2009-04-14 Thread Rebecca
Just experienced this in Firefox 3, not sure whether it is desired behavior, but discussed it with a fellow dev and we think it is not. I had an ajax request as follows: var myData = null; $.ajax({ 'url' : 'foo.php', 'data' : myData, 'type' : 'POST', 'dataType' : 'json', 'success' :

[jquery-dev] Re: $.ajax() will null data property in config object results in missing Content-Length header in FF3

2009-04-14 Thread Rebecca Murphey
correction, the title of this should say $.ajax() WITH null data property in config object results in missing Content-Length header in FF3 On Apr 14, 10:34 am, Rebecca rmurp...@gmail.com wrote: Just experienced this in Firefox 3, not sure whether it is desired behavior, but discussed it

[jquery-dev] Re: selector on elements like id=name[2]

2009-04-14 Thread Daniel Friesen
[] is used for attributes. Use the backslash to escape them for use as part of an id. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) Mat Brennan wrote: Hi all, Not sure if this is even relevant to the development side of the group. I've noticed if i have something such as: input type=text

[jquery-dev] Re: getJSON call is not going in the call back function

2009-04-14 Thread r.white
Were you able to get this to work? I am having the exact same problem with JQuery 1.3.2. When I specify the function within the .getJSON / .ajax function, then it never enters the callback. When I just specify the function to be called, then it works. Good Example: $.getJSON( myURL,

[jquery-dev] Question about a possible plugin design pattern?

2009-04-14 Thread Byrne Reese
First, some background: I am one of the lead contributors to the Movable Type Open Source project and am currently engaged in writing a jquery plugin that would be used on all of the blogs the platform publishes. So far I have successfully written a surprisingly complex plugin that works like