[jQuery] Release 1.0.1 bug/typo mistake

2006-08-31 Thread Stefan Petre
line 1199 : if ( this.readyState 1= complete ) return; ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Critical: val('something') does not work in 1.0

2006-08-31 Thread Klaus Hartl
Using `setAttribute` can be tricky, as IE doesn't propagate changes made via `setAttribute` to the visual display of an element [1] (except for `className` and `style`. So, if we can identify _all_ the buggy attributes --as `value` seems to be, the special cases could be added in the same

Re: [jQuery] Critical: val('something') does not work in 1.0

2006-08-31 Thread Klaus Hartl
By the way, John: May I ask about the second parameter (`2`) passed to `getAttribute` in line 1276 of rev 234? What does it do? The attribute name you pass to getAttribute is not case-sensitive. With the second parameter, you can force case-sensitivity. This is IE only! Default value is 0,

Re: [jQuery] Simple form setup

2006-08-31 Thread Dan Atkinson
If the validate function isn't doing much except working on specific objects (document.tester.mytext.value), then there isn't much point in moving it to its own function imo. Example: Mungbeans wrote: Thank you, Karl. This code now works well: $(document).ready(function() {

Re: [jQuery] Release 1.0.1 bug/typo mistake

2006-08-31 Thread John Resig
line 1199 : if ( this.readyState 1= complete ) return; I fixed it just after you posted this and fixed 1.0.1 right away. Ooops :( --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Bug: Regression in jQuery 1.01: selecting children with ''

2006-08-31 Thread Klaus Hartl
Hi, with jQuery version 1.01 I cannot select children if I write something like this: $('#someIddivdiv') or $('/dashboard/locations/location') This also does not work anymore (I'm using that in the tabs plugin): $(this).find('div') The '' selector seems to be pretty much broken... The

[jQuery] 1.0.1 doesn't work

2006-08-31 Thread poni
I'm using 1.0 right now, and when I change it to 1.0.1 it doesn't throw any errors, but stops working ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Bug: curCSS causes nullpointer in Safari

2006-08-31 Thread Klaus Hartl
Hi, I found a bug in Safari in the curCSS function where it tries to access a property which is null in that case...: curCSS: function(elem, prop, force) { var ret; if (!force elem.style[prop]) { ret = elem.style[prop]; } else if (elem.currentStyle) { var newProp

[jQuery] Animation dimensions - problem and solution

2006-08-31 Thread Alistair Potts
When jquery tries to get the height of a (display:none) element, it clones the element as (visiblity:hidden display:block), appends it to the BODY, calculates the dimensions, and removes it. Which is all very clever. The problem comes that if you style your element using css selectors, then

Re: [jQuery] tableSorter feedback requested!

2006-08-31 Thread Todd Menier
Thanks for pointing that out, I did look at it when it came out but sort of forgot about it. I initially dismissed it because seemed like it had too many bells and whistles and was much too slow, but that cetainly could be a server issue and not a problem with the plugin. I'll give it another look

[jQuery] Thickbox

2006-08-31 Thread Tom Holder
Hi,Does anyone know a link to the Thickbox 2.0 site, I'm sure a week ago I found a site that wasn't on the jquery server that had all the details and examples of thickbox 2.0.I'm trying to get hold of it but at the moment the JQuery site seems like it's having problems. CheersTom

Re: [jQuery] Bug: curCSS causes nullpointer in Safari

2006-08-31 Thread John Resig
I found a bug in Safari in the curCSS function where it tries to access a property which is null in that case...: What property were you attempting to check with curCSS in Safari - the specific property is very important. Also, does the element have a display: of none? What version of Safari

[jQuery] jQuery SVN Mirror

2006-08-31 Thread Yehuda Katz
Hey guys,I know there's been some problems with the jQuery svn lately, so I've put up a mirror at http://svn.visualjquery.com/jquery-mirror/trunk I hope that I don't have the same problems that have been plaguing John. Good luck!-- Yehuda KatzWeb Developer(ph)718.877.1325(fax) 718.686.4288

Re: [jQuery] Thickbox

2006-08-31 Thread Yehuda Katz
Thickbox 2: http://jquery.com/demo/thickbox/http://codylindley.com/Webdev/274/thickbox-12 On 8/31/06, Tom Holder [EMAIL PROTECTED] wrote: Hi,Does anyone know a link to the Thickbox 2.0 site, I'm sure a week ago I found a site that wasn't on the jquery server that had all the details and examples

Re: [jQuery] Autocomplete plugin: update for jQuery 1.01

2006-08-31 Thread John Resig
Wait - how'd it break your plugin? Nothing should've broken with the bug fix release. I think I messed up foo bar, which I'm working to fix right now. --John On 8/31/06, Dylan Verheul [EMAIL PROTECTED] wrote: The newest jQuery 1.01 broke my autocomplete plugin, so I have released an update.

Re: [jQuery] jQuery 1.01 - each does not work in IE with context

2006-08-31 Thread John Resig
in IE the each function does not work under certain circumstances. The following snippet throws an error in IE: $('infowindowtab/tab', this).each( ... ) This was the same issue with selecting children - which has been resolved now. Sorry about that. --John

[jQuery] jQuery Chaos

2006-08-31 Thread John Resig
Hi Everyone - Due to negligence on my part, the jQuery servers and code have been is a strange state the past couple days - to summarize: 1) For the past couple days the jQuery server has been crashing every night. I had no idea why until the a few minutes ago. It was related to the nightly

Re: [jQuery] did something change with the interaction with prototype?

2006-08-31 Thread Geoff Knutzen
Is this a known issue? I am pretty new with jquery and I am still finding my way around the site but I did find this: http://proj.jquery.com/dev/bugs/bug/137/ If compatibility will be with a plugin now, how will that work? Will I just need to call a .js file that holds the plugin?

Re: [jQuery] jQuery Chaos

2006-08-31 Thread Andy Matthews
I'm sure you've got a lot on your mind. It says a lot for you that you were willing to admin your error in a public forum. Keep up the good work John. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737

Re: [jQuery] problem with $(TAGNAME, httprequest.responseXML) with certain browsers

2006-08-31 Thread Mario Landgraf
Hi John, yes I first encountered the problem with an earlier version. I now replaced the old version of jQuery with the version you specified and replaced the deprecated syntax. The problem still persists. In a responseXML containing XML without namespaces, Opera and FF find all the elements and

Re: [jQuery] Appropriate time to use JQuery instead of another framework

2006-08-31 Thread Yehuda Katz
I'll speak regarding jQuery (I'm not qualified enough to speak about when you'd want to use other frameworks):jQuery is a DOM-centric framework. If your main _javascript_ work is to manipulate, traverse, and bind event handlers onto collections of DOM Element, jQuery is, by *far*, the best thing

Re: [jQuery] jQuery Chaos

2006-08-31 Thread Klaus Hartl
Karl Swedberg schrieb: Hang in there, John. Even super-humans make mistakes. :) This email that you wrote is just one more reason that I love working with jQuery. Cheers to you for having the honesty and integrity to post this message to the group. Karl Absolutely! Just wanted to

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-08-31 Thread Hartman, Matthew
This is an in-house clinical portal, similar in nature to DotNetNuke or Rainbow Portal in that content is served dynamically through one or two ASPX pages. The ASPX pages grab content from a database which includes references to ASCX's (user controls). It's one of those user controls I'm writing

Re: [jQuery] jQuery Chaos

2006-08-31 Thread Geoff Knutzen
I'll second that! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Hartl Sent: Thursday, August 31, 2006 11:29 AM To: jQuery Discussion. Subject: Re: [jQuery] jQuery Chaos Karl Swedberg schrieb: Hang in there, John. Even super-humans make

[jQuery] Interface Plugin: Slider drop points

2006-08-31 Thread Stefan Petre
Ok, I'll take a look over it and implement this. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-08-31 Thread Franck Marcia
2006/8/31, Hartman, Matthew [EMAIL PROTECTED]: So any how, I must assume it's what you said with innerHTML not playing well with STYLE tags. If I include the STYLE tag as part of the originally served document there is no problem at all. It's the same problem as

[jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)

2006-08-31 Thread Dylan Verheul
I can't figure out what is causing this, don't know whether it's a bug in my code, in Firefox or in jQuery. When I hover over the results of my autocompleter, Firebug reports an error: uncaught exception: Permission denied to get property HTMLDivElement.parentNode Detailed steps to reproduce:

Re: [jQuery] jQuery Chaos

2006-08-31 Thread Dan Atkinson
John, Can you please tell me what timezone your 'last night' was, please? And is this UTC or your local time? Cheers, Dan John Resig wrote: Hi Everyone - Due to negligence on my part, the jQuery servers and code have been is a strange state the past couple days - to summarize: 1)

[jQuery] John Resig: jQuery.com weirdness

2006-08-31 Thread Dan Atkinson
John, Over the last few days (nearly a week) I've been suffering with severe difficulties accessing the jquery.com site. I guess about 80% of my attempts have failed, which has led to several hairs on my head disappearing through stress and my hands ripping them out. Is the site going

[jQuery] Critical: Child selector doesn't work in 1.0.1

2006-08-31 Thread Timo Derstappen
something like $('divp') or $(element).find('divp') doesn't work anymore with the latest release 1.0.1. sorry this is the only thing i can say about it, cause jquery.com is completly down including the svn repository. -- View this message in context:

Re: [jQuery] Autocomplete invasion

2006-08-31 Thread aedmonds
Stefan, Seems a bit buggy. -The callbacks aren't fired when you click on an item in the list only when you arrow to it and hit enter. -Pressing 'Esc' multiple times after the list has displayed has a weird effect (I think with an i-frame). These are just some quick things I've noticed. I

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-08-31 Thread Krzysztof FF
John Resig wrote: It's not so much an issue of jQuery ignoring the style element - it's an issue of browsers ignoring it. If memory serves me correctly, using style elements and innerHTML is particularly dicey. Couldn't STYLE tags in delivered HTML snippet be stripped out and inserted

Re: [jQuery] jQuery Chaos

2006-08-31 Thread John Resig
Can you please tell me what timezone your 'last night' was, please? And is this UTC or your local time? I am GMT -0500 (Boston, MA, EST). So, the first syntax bug was for, maybe, an hour from 2am to 3am - the other selector bug was in until 11:30am. The servers had been going down at 5am

Re: [jQuery] John Resig: jQuery.com weirdness

2006-08-31 Thread John Resig
Dan - To expand upon what I mentioned on the list before. This has been due to server issues that only occur at night (for me) and during the day (for you). The issues should be resolved now, it had to do with the server running out of HD space and freaking out - this includes Wordpress and the

Re: [jQuery] jQuery Chaos

2006-08-31 Thread Dan Atkinson
John, Cheers. I logged on this morning just after 9AM (UTC) when I came into work, noticed that jquery 1.0.1 was released, got a cup of coffee, downloaded it, commented, and shortly after, it went dead. Unfortunately, you were probably in bed when this happened though! John Resig wrote:

Re: [jQuery] Interface's Sortables problems with sortables thatfloats?

2006-08-31 Thread Albert Garcia
One more question about last modifications in Interface: Can I use the handle parameter with sortables or only with standalone draggables? Thanks, again. -- Albert Garcia OboLog Tus pensamientos en red http://www.obolog.com _ Mi blog en

Re: [jQuery] Critical: Child selector doesn't work in 1.0.1

2006-08-31 Thread Yehuda Katz
Are you having problems with in Firefox or only in IE?-- YehudaOn 8/31/06, Timo Derstappen [EMAIL PROTECTED] wrote:something like $('divp') or $(element).find('divp') doesn't work anymore with the latest release 1.0.1.sorry this is the only thing i can say about it, cause jquery.com iscompletly

Re: [jQuery] Interface Plugin: Slider drop points

2006-08-31 Thread Leandro Ardissone
Also I've noticed that when you move from the second to third fraction if you back to second again the cordx value is reset to 0. On 8/31/06, Leandro Ardissone [EMAIL PROTECTED] wrote: thank you, I think it's useful, don't you? On 8/31/06, Stefan Petre [EMAIL PROTECTED] wrote: Ok, I'll

Re: [jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)

2006-08-31 Thread Geoff Knutzen
I can verify this, but I haven't had a chance to look into where it is coming from. I am just starting to implement your autocomplete plugin. Thanks for the work on it. I will try and track down this bug in a bit, if you don't get to it first -Geoff -Original Message- From: [EMAIL

Re: [jQuery] John Resig: jQuery.com weirdness

2006-08-31 Thread Karl Swedberg
Not to add to your worries, but I've been experiencing some weirdness with the mailing list. Some posts reach my inbox 2 or 3 times while some others never get here at all. Of course I can't tell exactly how many don't reach me, but occasionally I'll see a reference to a post that I never

Re: [jQuery] Autocomplete invasion

2006-08-31 Thread Stefan Petre
aedmonds wrote: Stefan, Seems a bit buggy. -The callbacks aren't fired when you click on an item in the list only when you arrow to it and hit enter. -Pressing 'Esc' multiple times after the list has displayed has a weird effect (I think with an i-frame). These are just some quick

Re: [jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)

2006-08-31 Thread John Resig
That is a weird one... let me know what you find out - did this bug exist with 1.0 autocomplete? --John On 8/31/06, Geoff Knutzen [EMAIL PROTECTED] wrote: I can verify this, but I haven't had a chance to look into where it is coming from. I am just starting to implement your autocomplete

Re: [jQuery] Uncaught exception (Autocomplete / jQuery 1.0.1)

2006-08-31 Thread Geoff Knutzen
I can repro this with consistency in FF. It seems that this only fires if you move focus from an element, to something else and then immediately move to a child element of the first element. If you go directly from the first element to the child, all is fine. A silly quick fix is to wrap this

Re: [jQuery] John Resig: jQuery.com weirdness

2006-08-31 Thread Dan Atkinson
I eagerly await a forum! :P hehe! Karl Swedberg-2 wrote: Not to add to your worries, but I've been experiencing some weirdness with the mailing list. Some posts reach my inbox 2 or 3 times while some others never get here at all. Of course I can't tell exactly how many don't reach

[jQuery] bad iterator in interface's sortables

2006-08-31 Thread Francisco Brito
The iterator being used is a for-in but the object is an Array, so it's sometimes breaking and sometimes doing insane things due to my additions to Array.prototype.Sortables:92for(i in jQuery.iSort.changed){ I suggest changing it to a vanilla for loop:for(var i = 0; i jQuery.iSort.changed.length;

[jQuery] Checking checkboxes

2006-08-31 Thread Grant Bristow
I'm BRAND new to jQuery. I've successfully (and easily) selected all of the checked checkboxes, but now, I would like to check (or uncheck) them. Could someone show me how this is done? Thanks in advance. Grant ___ jQuery mailing list

[jQuery] jQuery.browser and Safari

2006-08-31 Thread Corey Jewett
Anybody else noticed that Safari is reported as Mozilla? script alert(jQuery.browser.safari + \n + jQuery.browser.mozilla) /script mozilla/5.0 (macintosh; u; intel mac os x; en) applewebkit/418.8 (khtml, like gecko) safari/419.3 true true Based on the code: var b =

Re: [jQuery] Checking checkboxes

2006-08-31 Thread Rob D
Grant Bristow wrote: I'm BRAND new to jQuery. I've successfully (and easily) selected all of the checked checkboxes, but now, I would like to check (or uncheck) them. Could someone show me how this is done? Thanks in advance. Grant Hi Grant, I posted this a week or so back but

Re: [jQuery] Checking checkboxes

2006-08-31 Thread Rob D
Grant Bristow wrote: Thanks Rob. But at the risk of sounding really stupid: how do I put your code to work? I'm really sorry, but I've never seen the $. nomenclature before. Perhaps you could refer me to some additional documentation than what I found on the jQuery site. Or, just a

Re: [jQuery] jQuery.browser and Safari

2006-08-31 Thread Dave Cardwell
Corey Jewett wrote: I just now looked into doing so, but I think it will grow the core's file size too much. Nice plugin though. // As of jQuery 1.0.1[1] the relevant code is: var b = navigator.userAgent.toLowerCase(); jQuery.browser = { safari: /webkit/.test(b), opera:

Re: [jQuery] Checking checkboxes

2006-08-31 Thread Grant Bristow
You've been great! Thank you very much. I think I understand what's going on. Where did you figure out the $.Name constructs? Is this documented anywhere? Grant -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob D Sent: Thursday, August 31,

[jQuery] What about the rest of my javascript?

2006-08-31 Thread Brandon Aaron
I'm a long time prototype user and have had a love/hate relationship with it. I've spent a lot of time tweaking prototype to suit my needs in the DOM manipulation area. However, I do somewhat like what prototype has to offer in the object oriented approach. I'm curious what the views are

[jQuery] Tests that crash Safari

2006-08-31 Thread Corey Jewett
Trial and error (and a lot of Saft recovering my tabs) indicates that these are the culprits: tests/10-jQuery.find.js: ... t( Checked UI Element, input:checked, [radio2,check1] ); ... t( Is Visible, input:visible, [text1,text2,radio1,radio2,check1,check2] ); t( Is Hidden, input:hidden,

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-08-31 Thread Klaus Hartl
Krzysztof FF schrieb: John Resig wrote: It's not so much an issue of jQuery ignoring the style element - it's an issue of browsers ignoring it. If memory serves me correctly, using style elements and innerHTML is particularly dicey. Couldn't STYLE tags in delivered HTML snippet be

Re: [jQuery] jQuery.browser and Safari

2006-08-31 Thread Dave Cardwell
Corey Jewett wrote: sa = /apple/.test(v), Why do you prefer this over /webkit/ ? It is fairly common to spoof or manipulate a browser's user agent string. Sometimes it is a native feature of the browser (like Opera), sometimes plugins are used. While for example a Safari user may want

Re: [jQuery] What about the rest of my javascript?

2006-08-31 Thread John Resig
Brandon - For 1.0 I snuck in a bunch of Prototype users really happy. I plan on releasing a complete Prototype compatibility module that will help Prototype users transition over to jQuery. For example, Prototype has Object.extend(), jQuery has jQuery.extend() - they work nearly identically. I'm

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-08-31 Thread Klaus Hartl
Hartman, Matthew schrieb: This is an in-house clinical portal, similar in nature to DotNetNuke or Rainbow Portal in that content is served dynamically through one or two ASPX pages. The ASPX pages grab content from a database which includes references to ASCX's (user controls). It's one of

Re: [jQuery] What about the rest of my javascript?

2006-08-31 Thread John Beppu
This may be slightly off-topic, but I'm curious about the changes you made to prototype. What aspect of its DOM manipulation did you find lacking?On 8/31/06, Brandon Aaron [EMAIL PROTECTED] wrote: I'm a long time prototype user and have had a love/hate relationship with it. I've spent a lot of

Re: [jQuery] jQuery.browser and Safari

2006-08-31 Thread John Resig
It is fairly common to spoof or manipulate a browser's user agent string. Woah... that's news to me! Especially considering that Safari and Opera combined have like 4% of the browser market. I looked at Opera 9 and it's not immediately apparent how to switch user agents (in that, I was looking

Re: [jQuery] What about the rest of my javascript?

2006-08-31 Thread John Resig
$('ulId').insertAtIndex(newLi, 7); Ok, that's a little more complex, this would do it, though: $(#ulid).children().eq(7).before( newLI ); --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Autocomplete invasion

2006-08-31 Thread aedmonds
Ok... luckily it was simple. :D The response MUST be true XML (Content-type: text/xml instead of text/html with XML tags). Yeah... I kind of feel stupid. Stefan, you think you could add that little bit to the documentation? The plugin works great! I'm going to do some more testing on it. The

Re: [jQuery] jQuery.browser and Safari

2006-08-31 Thread Corey Jewett
On Aug 31, 2006, at 5:34 PM, John Resig wrote: It is fairly common to spoof or manipulate a browser's user agent string. Woah... that's news to me! Especially considering that Safari and Opera combined have like 4% of the browser market. I looked at Opera 9 and it's not immediately