[jquery-dev] using ?id= with $.ajax

2009-04-16 Thread Rogue Lord
I am trying to convert my site http://ultimate-battle-online.com into a web App and so far I have: $(document).ready(function(){ $('#main_content').load('cityhall.php'); $('#loading').hide(); $('a').click(function() {

[jquery-dev] Re: Adding Click Function to a DT tag in IE7 doesn't apply to last element.

2009-04-16 Thread Dave Methvin
> $(".faqList dt").add("dd") ... What does the rest of the page look like? Does it matter that you added all DDs on the page and not just the .faqList ones? If you have a full test page somewhere it might be easy to debug with IE8's built-in developer tools. --~--~-~--~~

[jquery-dev] Adding Click Function to a DT tag in IE7 doesn't apply to last element.

2009-04-16 Thread Reno
I have a definition list on my page with a few pairs of DT and DD tags in it. I am adding a click function to the DT tag which i've verified as working in FF3 but when I use it in IE7, the last DT element does not receive the click function. Is there anything wrong with this code? $(document).r

[jquery-dev] Re: What does this error message mean?

2009-04-16 Thread Pink Pig
On Apr 16, 12:47 pm, "mike.helgeson" wrote: > Really? When given a helpful, simple, and absolutely correct response, > that is how you act? I'm not sure why you are referencing the version on rentalbeast. I was referring to the version on my laptop, which does not have this problem. As it happens

[jquery-dev] Re: What does this error message mean?

2009-04-16 Thread Ricardo
Just to point out: plugins are "third-party", which means the jQuery team or documentation has no responsability on them. There is obviously commitment on keeping everything as up to date as possible, but it's unreasonable to expect that anyone will keep track of versioning in 2348 plugins. BTW,

[jquery-dev] Re: What does this error message mean?

2009-04-16 Thread Ricardo
http://dev.jquery.com/browser/trunk/plugins/checkboxes/jquery.checkboxes.js?rev=4734#L36 http://dev.jquery.com/browser/trunk/plugins/checkboxes/jquery.checkboxes.js?rev=4734#L73 On Apr 16, 1:48 am, Pink Pig wrote: > On Apr 15, 7:11 pm, Ricardo wrote: > > > Try a search for '@' in the plugin fil

[jquery-dev] Re: What does this error message mean?

2009-04-16 Thread mike.helgeson
Really? When given a helpful, simple, and absolutely correct response, that is how you act? http://www.rentalbeast.com/ScriptLibrary/jquery.checkboxes.js Here is a mirror to the code in case Bill gets self conscious and fixes the "obvious". http://codepad.org/SidAtyeO On Apr 16, 12:04 pm, Pink

[jquery-dev] Re: What does this error message mean?

2009-04-16 Thread Klaus Hartl
Maybe you need to use a better text editor? http://en.wikipedia.org/wiki/Text_editor#Search_and_replace --Klaus On 16 Apr., 18:04, Pink Pig wrote: > On Apr 16, 1:04 am, David Zhou wrote: > > > > > On Thu, Apr 16, 2009 at 12:48 AM, Pink Pig > > > wrote: > > > > On Apr 15, 7:11 pm, Ricardo

[jquery-dev] Re: What does this error message mean?

2009-04-16 Thread Daniel Friesen
Barely anyone actually bothers to do it + You never said you did = We assume you may not have done it and suggest it ~Daniel Friesen (Dantman, Nadir-Seen-Fire) Pink Pig wrote: > > On Apr 16, 1:04 am, David Zhou wrote: > >> On Thu, Apr 16, 2009 at 12:48 AM, Pink Pig >> >> wrote: >> >>

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

2009-04-16 Thread Daniel Friesen
DBJDBJ wrote: > Maybe one can do this, as jQ author writes: "weird characters in its > ID" . But this is a bad programming practice. > Why would anyone do that? When was the last time (if ever) you did > that? If Matt Brenna want to do some indexing of some elements there > are much safer,scaleab

[jquery-dev] Re: What does this error message mean?

2009-04-16 Thread Pink Pig
On Apr 16, 1:04 am, David Zhou wrote: > On Thu, Apr 16, 2009 at 12:48 AM, Pink Pig > > wrote: > > > On Apr 15, 7:11 pm, Ricardo wrote: > >> Try a search for '@' in the plugin files, it shouldn't be hard. > > >> On Apr 15, 3:59 am, Pink Pig wrote: > > >> > Maybe you guys should stop patting y

[jquery-dev] Re: Blank jQuery page leaks memory in IE?

2009-04-16 Thread Danny Tuppeny
Hi John, That seems to remove many of the leaks, but still leaves a comment, a script, a form and 3 DIVs. The script is caused by the removeChild just after the code you posted. Not had chance to check where the others come from, might try and dig into it more when I get home. All of the element

[jquery-dev] Re: namespace + tag name selection

2009-04-16 Thread DBJDBJ
Thanks Nick. Also I have tried IE8 and concluded that what si "recommended" in http://www.w3.org/TR/css3-selectors/#typenmsp also does not work in IE8. So "dbj|root" we can forget about. At least for now. I am deliberately using namespaces xml element so that I can have cross browser storage in

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

2009-04-16 Thread DBJDBJ
Maybe one can do this, as jQ author writes: "weird characters in its ID" . But this is a bad programming practice. Why would anyone do that? When was the last time (if ever) you did that? If Matt Brenna want to do some indexing of some elements there are much safer,scaleable and robust ways to do

[jquery-dev] Re: span displays on next line while calling show('slow') method

2009-04-16 Thread John Resig
show animates the height and width of the element and inline elements can't have a height or width. I recommend using fadeIn instead (since that doesn't touch height/width) or making the element display: block with a CSS float of left. --John On Thu, Apr 16, 2009 at 3:08 AM, Raxit wrote: > >

[jquery-dev] Re: Blank jQuery page leaks memory in IE?

2009-04-16 Thread John Resig
Hmm - I wonder if it has to do with the attachEvent that we're testing. If you comment out these lines, does the leak still exist? if ( div.attachEvent && div.fireEvent ) { div.attachEvent("onclick", function(){ // Cloning a node shouldn't copy over

[jquery-dev] Blank jQuery page leaks memory in IE?

2009-04-16 Thread Danny Tuppeny
Hi all, I've been using Drip to try and track down some memory leaks in my app, but as I started stripping code out, I discovered a simple blank page including jQuery seems to leak. The elements seem to be all those created by the jquery.support object (script, a, divs). Happens in IE7 and IE8.

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

2009-04-16 Thread John Resig
It seems like it'd be easy to special-case POST requests to make sure that an empty string was sent. Could you file a bug on the issue? Thanks! --John On Thu, Apr 16, 2009 at 9:38 AM, Rebecca Murphey wrote: > > The issue didn't occur in IE; I haven't tested in C or S. > > As far as POSTing wi

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

2009-04-16 Thread Rebecca Murphey
The issue didn't occur in IE; I haven't tested in C or S. As far as POSTing without data, I agree that this is illogical, but it was what the client (as in the person who pays me, not as in the browser) required to interface with their server-side code. I have tried repeatedly to get them to use

[jquery-dev] Re: Fadeout bug in 1.3.2

2009-04-16 Thread Richard D. Worth
Take a look and see if this is a known issue: http://dev.jquery.com/search?ticket=on&q=fadeout If so, you could add your test case to the ticket, otherwise open a new one. Thanks. - Richard On Wed, Apr 15, 2009 at 8:06 AM, weepy wrote: > > Hi > > I've got a problem where fadeOut does not work

[jquery-dev] span displays on next line while calling show('slow') method

2009-04-16 Thread Raxit
Hi, I am working on validation controls. I want to put some animation effects when the error message gets displayed. Following is the html page along with the script. My problem is whenever the message gets displayed it appears on the next line. I figured that "show" method of Jquery applies "dis

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

2009-04-16 Thread Richard D. Worth
On Wed, Apr 15, 2009 at 12:23 PM, Daniel Friesen wrote: > > Fact is that jQuery does support using characters like :[] by escaping > them with a \ and that should be noted when someone does not know. It's noted here: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_t

[jquery-dev] Re: namespace + tag name selection

2009-04-16 Thread Nick Fitzsimons
On Thu, April 16, 2009 11:17 am, Nick Fitzsimons wrote: > jQuery selectors are not namespace-aware, so they only use > getElementsByTagName (rather than getElementsByTagNameNS) to retrieve > elements by their nodeName attribute (rather than by localName and > namespaceURI). Before anybody else pi

[jquery-dev] Re: namespace + tag name selection

2009-04-16 Thread Nick Fitzsimons
On Thu, April 16, 2009 1:20 am, DBJDBJ wrote: > > If I do this : > > $("head").prepend(" dbj:root>") > > how do I then select dbj:root by tag name ? > > A: $("dbj:root") > > B: $("dbj\:root") > > C: $("root") > > Any idea anyone ? jQuery selectors are not namespace-aware, so they only use getElem