Re: [jQuery] Improved jQIR?

2006-10-20 Thread gilles
Hi Faust, Nice work! I suggest however that you change order of the parameters to path format. This is more logic. I have only tested this with Firefox 1.5 and IE 6. ppk warned that IE on Windows does /not/ fire the |onload| event of cached images. I did not notice any problems when

Re: [jQuery] jQuery Kinda Plugin: every

2006-10-20 Thread Blair Mitchelmore
Good suggestions John as always. .in() can't be done because 'in' is a JS keyword and I wouldn't want to have to call it like $()['in']() all the time. So I figured two JS keywords smashed together would work and chose .doin() as the function name; if you have any better ideas (maybe

[jQuery] jQuery AJAX woes...Works in Firefox Not IE

2006-10-20 Thread Andrew Chalkley
I have a sample of code that works in Firefox but not IE (6). jQuery code: $.post(xml_listbox.php,{ table: link_category, value: cat_id, label: cat_name },function(xml){ $(options/option,xml).each( function() {

Re: [jQuery] mouse gestures?

2006-10-20 Thread Armand Datema
just found another example YUI this time http://blog.davglass.com/files/yui/gestures/ On 10/2/06, Dan Atkinson [EMAIL PROTECTED] wrote: http://www.xs4all.nl/~peterned/ Armand Datema wrote: there was a good script once that used mouse gestures it was from a dutch guy his site was

Re: [jQuery] mouse gestures?

2006-10-20 Thread Dan Atkinson
That looks like it determines the position of the mouse on the page on mouseDown, and then has a look on mouseUp and does a calculation with a tolerance for minute movements. I'm guessing it's that simple, because you can trick it by holding the mouse button down (keeping it still) but moving

Re: [jQuery] Sorting (not tables)

2006-10-20 Thread Adrian Sweeney
Title: Message $(document).ready(/* define the jQuery page constructor */function() {// store a list of all the existing leases per rowvar rows = [];// for each form with the id of "frm_existingLeases" get the list of divs with the class "row" that are the children of the div with the

[jQuery] jQuery AJAX woes...Works in Firefox Not IE

2006-10-20 Thread Andrew Chalkley
I found this works... alert(this.attributes.getNamedItem(val).value + + this.firstChild.nodeValue); is there anything simpler - more jQuery-like? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] load(),get(),post() params issue

2006-10-20 Thread Miel Soeterbroek
Howdy! Consider the following two pieces of code: function someFunction() { var params = { name: John, surname: Doe }; $.post(save.html, params, function(data) { alert(data); }); } This works just fine The following piece of code doesnt: function

Re: [jQuery] load(),get(),post() params issue

2006-10-20 Thread Blair McKenzie
var params = new Array():Probably a typo, but I thought I'd mention it. Possibly {} creates an object not an array? In which case changevar params = new Array();tovar params = new Object(); BlairOn 10/20/06, Miel Soeterbroek [EMAIL PROTECTED] wrote: Howdy! Consider the following

Re: [jQuery] load(),get(),post() params issue

2006-10-20 Thread David Duymelinck
Miel Soeterbroek schreef: Howdy! Consider the following two pieces of code: function someFunction() { var params = { name: ‘John’, surname: ‘Doe’ }; $.post(‘save.html’, params, function(data) { alert(data); }); } This works just fine… The following piece of code doesn’t:

Re: [jQuery] load(),get(),post() params issue

2006-10-20 Thread Miel Soeterbroek
Thanks Blair, changing Array to Object did the trick And indeed, the : was just a typo David, I use the extend functionality all over the place already, however, in this case there is no default set of values. Unset parameters will just arrive as null on the server. var params = new

Re: [jQuery] jQuery Kinda Plugin: every

2006-10-20 Thread Blair Mitchelmore
Once again, I have an 11th hour code change. I had forgotten about Jörn's suggestion of allowing additional passed arguments. I'm not entirely sure what kind of implementation or usage was expected but I added my own version. Any argument provided to the .doin()/.every() function beyond the

Re: [jQuery] Improved jQIR?

2006-10-20 Thread Sam Collett
The latest version of my plugin is available at (those on Google Pages are no longer updated): http://www.texotela.co.uk/code/jquery/jQIR/ I use 'format' first as the second parameter 'path' is now optional (leave it blank to have no path prepended). I don't use image.onload due to it not firing

Re: [jQuery] jQuery AJAX woes...Works in Firefox Not IE

2006-10-20 Thread Klaus Hartl
Andrew Chalkley schrieb: I found this works... alert(this.attributes.getNamedItem(val).value + + this.firstChild.nodeValue); is there anything simpler - more jQuery-like? Hi Andrew, not yet, the bug you found is a known one and popped up on this list several times. Work is

Re: [jQuery] load(),get(),post() params issue

2006-10-20 Thread Klaus Hartl
Miel Soeterbroek schrieb: Thanks Blair, changing Array to Object did the trick… And indeed, the : was just a typo… David, I use the extend functionality all over the place already, however, in this case there is no default set of values. Unset parameters will just arrive as null

[jQuery] IE 7 Windows Update

2006-10-20 Thread Rey Bango
I'm sure most everyone knows by now that IE 7 has been officially released but I just wanted to ensure that everyone knows that last night, MS began pushing out IE 7 via Windows Update. I received an update notification via the automatic updates option so I'm sure a ton of other people did as

Re: [jQuery] Extended tabs in Thickbox iframe

2006-10-20 Thread Dan Atkinson
Do you have a link to a (non)working example that you can put on the web? bmckenzie wrote: Hello. I've run into a problem combining two plugins. When displaying a page that uses the extended tabs plugin jq-tabs v 0.9 (http://jquery.com/docs/Plugins/ExtendedTabs/) in an iframe created

[jQuery] Tabs plugin 2.0

2006-10-20 Thread Klaus Hartl
Hi jQuerians, I worked on the tabs plugin, did some clean up and changed the API a little bit, so that I call it v2.0 now: * to pass in the initial tab to start with you no longer specify it with an on option. Instead you pass the number as first parameter to the tabs() function (that's the

Re: [jQuery] IE 7 Windows Update

2006-10-20 Thread Rey Bango
Hi Dave, Yep, I updated my IE7 RC1 to the full release via Windows Update just last night. I don't know if the beta triggered it. I'll look on one of my other PCs thats running IE6 to see if IE7 is available via Windows Update. If anything, if you're using IE6, just run Windows Update and see

Re: [jQuery] IE 7 Windows Update

2006-10-20 Thread Dave Methvin
I'm sure most everyone knows by now that IE 7 has been officially released but I just wanted to ensure that everyone knows that last night, MS began pushing out IE 7 via Windows Update. Whoa, are you sure about that? Microsoft said just yesterday that it wouldn't happen until November:

Re: [jQuery] Tabs plugin 2.0

2006-10-20 Thread Rey Bango
What, no link?!?! You're slacking, Klaus! ;o) Klaus Hartl wrote: Hi jQuerians, I worked on the tabs plugin, did some clean up and changed the API a little bit, so that I call it v2.0 now: * to pass in the initial tab to start with you no longer specify it with an on option. Instead you

[jQuery] method/plugin for getting query string vars?

2006-10-20 Thread Luke Lutman
Is there a jQuery method or plugin for parsing the browser's query string into an object? I looked through the api and did a bit of searching around, but no luck ... Thanks, Luke -- zinc Roe Design www.zincroe.com (647) 477-6016 ___ jQuery mailing

Re: [jQuery] Tabs plugin 2.0

2006-10-20 Thread Rey Bango
Sorry Rey, here's the link: http://stilbuero.de/jquery/tabs :) I knew you'd come through. You da man. ;) Rey ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Tabs plugin 2.0

2006-10-20 Thread Mike Alsup
I use the latter to keep tabs compatible with jQuery 1.03. What I meant was, as an official plugin are you required to play by the same rules as jQuery itself where API changes are reserved for major releases? Mike ___ jQuery mailing list

Re: [jQuery] Tabs plugin 2.0

2006-10-20 Thread Rey Bango
Some feedback on this. In IE7 final, there's some odd behavior. When I click on a tab, the page shoots up and then resets itself to its original position. Here's what I mean by this. Say that that I'm looking at the section of your demo page that says Slide and Fade Effect Combined and that

Re: [jQuery] Tabs plugin 2.0

2006-10-20 Thread Klaus Hartl
Mike Alsup schrieb: I use the latter to keep tabs compatible with jQuery 1.03. What I meant was, as an official plugin are you required to play by the same rules as jQuery itself where API changes are reserved for major releases? Not sure if it is called official at all. People asked me to

Re: [jQuery] Tabs plugin 2.0

2006-10-20 Thread Klaus Hartl
Rey Bango schrieb: Some feedback on this. In IE7 final, there's some odd behavior. When I click on a tab, the page shoots up and then resets itself to its original position. Here's what I mean by this. Say that that I'm looking at the section of your demo page that says Slide and Fade

Re: [jQuery] IE 7 Windows Update

2006-10-20 Thread kscholl . jq
According to the IE Blog (http://blogs.msdn.com/ie/) timestamped Thursday, October 19, 2006 8:56 AM: To help you become more secure and up-to-date, we will distribute IE7 via Automatic Updates as a high-priority update. We will start very soon with those of you who are already running IE7

Re: [jQuery] method/plugin for getting query string vars?

2006-10-20 Thread Sam Collett
On 20/10/06, Luke Lutman [EMAIL PROTECTED] wrote: Is there a jQuery method or plugin for parsing the browser's query string into an object? I looked through the api and did a bit of searching around, but no luck ... Thanks, Luke -- zinc Roe Design www.zincroe.com (647) 477-6016 You

Re: [jQuery] Tabs plugin 2.0

2006-10-20 Thread Rey Bango
My pleasure. It works beautifully in FF 1.5.0.7 and looks awesome. I definitely want to use the plugin. I'll test it in IE 6 later via another PC. Rey... Hi Rey, I know what you're talking about. It's because I want to have the tabs bookmarkable. Therefore the hash in the URL changes and

Re: [jQuery] Tabs plugin 2.0

2006-10-20 Thread John Resig
Hi Mike - What I meant was, as an official plugin are you required to play by the same rules as jQuery itself where API changes are reserved for major releases? Until a specific plugin is physically bundled with jQuery directly - then you're free to run your own versioning and make your own

Re: [jQuery] Tabs plugin 2.0

2006-10-20 Thread Jörn Zaefferer
Hi Klaus, nice to see a new release. * Here is an overview of the settings that can be passed in inside the object literal (shown values are default values): { fxFade: null, fxSlide: null, fxShow: null, fxHide: null, fxSpeed: 'normal',

Re: [jQuery] Possible IE7 fadeOut bug

2006-10-20 Thread Chris Ovenden
I forgot to say that if you uncomment the alert, it gives undefined in IE7. On 10/20/06, Chris Ovenden [EMAIL PROTECTED] wrote: Hi I have a problem where fadeOut is undefined in IE7 (final), but working fine in Firefox (2.0RC3). The relevant code is:

Re: [jQuery] method/plugin for getting query string vars?

2006-10-20 Thread Jörn Zaefferer
Luke Lutman schrieb: I was thinking of something a little fancier ;-) jQuery.query = function() { var r = {}; var q = location.search; q = q.replace(/^\?/,''); // remove the leading ? q = q.replace(/\$/,''); // remove the trailing

Re: [jQuery] Possible IE7 fadeOut bug

2006-10-20 Thread Chris Ovenden
On 10/20/06, Chris Ovenden [EMAIL PROTECTED] wrote: I forgot to say that if you uncomment the alert, it gives undefined in IE7. alert should read alert(clickBlock.fadeOut); // no 'this' On 10/20/06, Chris Ovenden [EMAIL PROTECTED] wrote: Hi I have a problem where fadeOut is undefined in

Re: [jQuery] Possible IE7 fadeOut bug

2006-10-20 Thread Brandon Aaron
Could you also try doing an alert(clickBlock.css) and alert(clickBlock.animate)? Thanks -- Brandon Aaron On 10/20/06, Chris Ovenden [EMAIL PROTECTED] wrote: On 10/20/06, Chris Ovenden [EMAIL PROTECTED] wrote: I forgot to say that if you uncomment the alert, it gives undefined in IE7.

[jQuery] window.opener and $('#el_id').load

2006-10-20 Thread Jeremy Bratton
I've started using jQuery in an existing web app and am having some trouble. The app uses a javascript date selector - click on the little calendar image and a popup opens; click on the date and it sets a text box value in the main window then closes itself. In between updating the text box and

Re: [jQuery] Sorting (not tables)

2006-10-20 Thread Jörn Zaefferer
Erik Beeson schrieb: Without the appendTo, the items aren't removed, but they aren't reordered either. This is something about the 'adding items in a different order replaces the old version' DOM feature, isn't it? Without appendTo, only the jQuery object should be sorted. So far the DOM

Re: [jQuery] Internal workings of jquery

2006-10-20 Thread Jörn Zaefferer
Abdur-Rahman Advany schrieb: Hi guys, I am trying to figure out how jQuery works internally. There is a stack maintained within jQuery but why does jQuery change the 'this' array of objects? why not just pass back the modified array when using things like find? The stack allows to

Re: [jQuery] Tabs plugin 2.0

2006-10-20 Thread Klaus Hartl
John Resig schrieb: Hi Mike - What I meant was, as an official plugin are you required to play by the same rules as jQuery itself where API changes are reserved for major releases? Until a specific plugin is physically bundled with jQuery directly - then you're free to run your own

Re: [jQuery] Possible IE7 fadeOut bug

2006-10-20 Thread Chris Ovenden
Interesting - .css returned a function value, but .animate was undefined. I'm pretty sure the animation module is in there, though, as it's working in FF, and indeed (checking) FF returns the expected function. On 10/20/06, Brandon Aaron [EMAIL PROTECTED] wrote: Could you also try doing an

[jQuery] jQuery Events

2006-10-20 Thread Adam van den Hoven
I was working with the event model and I noticed that while some steps are taken to fix the IE event object some of the cross browser inconsistancies, it doesn't fix all of them. It doesn't even fix the most annoying inconsistancies, namely the target and/or srcElement is not unified. Is there any

Re: [jQuery] jQuery Events

2006-10-20 Thread Klaus Hartl
fix: function(event) { if ( event ) { if( !event.preventDefault ) { event.preventDefault = function() { this.returnValue = false; }; } if( !event.stopPropagation ) {

Re: [jQuery] Internal workings of jquery

2006-10-20 Thread Dave Methvin
I am trying to figure out how jQuery works internally. There is a stack maintained within jQuery but why does jQuery change the 'this' array of objects? why not just pass back the modified array when using things like find? The stack allows to revert to older states. Check the

[jQuery] Non-Destructive jQuery

2006-10-20 Thread John Resig
Hi Everyone - There's been some rabble-rousing concerning the destructive nature of jQuery (it's ok, rousing is a good thing ;-)). I claimed that it'd be easy to have it exist as a plugin. Well, it took me all of 10 minutes, but here it is: jQuery.fn._pushStack = jQuery.fn.pushStack;

Re: [jQuery] All top level elements within an element...

2006-10-20 Thread John Resig
Something like this: $(#wrapper *).hover( ... ); The lets you select all child elements, which is what you want. Enjoy! --John How can I attach the hover event to all elements in another element? For example: div id=wrapper h1Hello/h1 pTest hello/p /div I

Re: [jQuery] mouse gestures?

2006-10-20 Thread Matt Stith
Yeah, YUI uses tons and tons of code, i think it was around half a meg!On 10/20/06, Dan Atkinson [EMAIL PROTECTED] wrote:That looks like it determines the position of the mouse on the page on mouseDown, and then has a look on mouseUp and does a calculation with atolerance for minute movements.I'm

Re: [jQuery] All top level elements within an element...

2006-10-20 Thread Tom Holder
Hi John,Thanks so much for the quick response. That works a treat.Can I take it one step further and only attach it to direct children? e.g the b gets left out (and any other sub sub elements). TomP.S. JQuery rocks... you're a god. You might actually be the god. ;)On 10/20/06, John Resig

Re: [jQuery] All top level elements within an element...

2006-10-20 Thread John Resig
Can I take it one step further and only attach it to direct children? e.g the b gets left out (and any other sub sub elements). Yep - $(#foo *) only grabs direct children (which is what you want). If you want to grab all descendants (children and children of children and children of

[jQuery] Returning a query?

2006-10-20 Thread Christopher Jordan
Hi folks, I need to know if jQuery can return a query result set from an Ajax call. What's the best way to do this? Chris ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] All top level elements within an element...

2006-10-20 Thread Tom Holder
That's great... it makes me feel nice.ThanksOn 10/20/06, John Resig [EMAIL PROTECTED] wrote: Can I take it one step further and only attach it to direct children? e.g the b gets left out (and any other sub sub elements). Yep - $(#foo *) only grabs direct children (which is what youwant). If

Re: [jQuery] Returning a query?

2006-10-20 Thread cjordan
I re-read this and thought I should maybe clarify my question. I need to return a query result set to the client side using Ajax. How does jQuery go about handling that? What's the simplest way of accomplishing this task. I know that with ajaxCFC I could return a query object from my ColdFusion

Re: [jQuery] Returning a query?

2006-10-20 Thread cjordan
Thanks for responding Matt. That's not quite what I'm looking for (I don't think)... when I was using ajaxCFC I could return a query object (a result set) and in return it gave me a javascript object that represented the query as an array of structures: query[i].column1 where query is the

Re: [jQuery] Returning a query?

2006-10-20 Thread Matt Stith
I still really dont understand what you mean by a query.On 10/20/06, cjordan [EMAIL PROTECTED] wrote: I re-read this and thought I should maybe clarify my question. I need toreturn a query result set to the client side using Ajax. How does jQuery go about handling that? What's the simplest way of

Re: [jQuery] Returning a query?

2006-10-20 Thread Matt Stith
Ohh i think i know what you mean, like a JSON object? For example, the server could respond:{column1:Some data,column2:Some more data,column3:Foobar }, Which you could then do this:$.get(file.php,function(r) {data = "">alert(data.column1);});Is that what you mean? On 10/20/06, cjordan [EMAIL

Re: [jQuery] Returning a query?

2006-10-20 Thread Matt Stith
Acctually, jQuery 1.0 and up can handle JSON for you. Try this out:$.getJSON(file.php,function(r) {alert(r.column1);});No need for a plugin. ;)On 10/20/06, Rey Bango [EMAIL PROTECTED] wrote: Hi Chris,You're not going to be able to manipulate a query like you would inAjaxCFC since AjaxCFC is a CF

Re: [jQuery] Returning a query?

2006-10-20 Thread Aaron Heimlich
On 10/20/06, Rey Bango [EMAIL PROTECTED] wrote: and then use the JSON plugin(http://mg.to/2006/01/25/json-for-jquery) to work with the data.Or you could (as of 1.0.2, possibly a bit earlier) do $.getJSON(file.php,function(r) {alert(r);});See the API docs under G for more info

Re: [jQuery] Returning a query?

2006-10-20 Thread Rey Bango
Hi Matt, Its the term used to identify a result set in ColdFusion. Its what a SQL query returns when ColdFusion executes a standard SQL query. Rey... Matt Stith wrote: I still really dont understand what you mean by a query. On 10/20/06, *cjordan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

Re: [jQuery] Returning a query?

2006-10-20 Thread Rey Bango
Thanks Aaron! Rey... Aaron Heimlich wrote: On 10/20/06, *Rey Bango* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: and then use the JSON plugin (http://mg.to/2006/01/25/json-for-jquery) to work with the data. Or you could (as of 1.0.2, possibly a bit earlier) do

Re: [jQuery] Returning a query?

2006-10-20 Thread Aaron Heimlich
On 10/20/06, Matt Stith [EMAIL PROTECTED] wrote: Acctually, jQuery 1.0 and up can handle JSON for you. Try this out:Ah. I knew $.getJSON was available before 1.0.2, just couldn't remember when. ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] Returning a query?

2006-10-20 Thread Rey Bango
Even better. :o) Rey... Matt Stith wrote: Acctually, jQuery 1.0 and up can handle JSON for you. Try this out: $.getJSON(file.php,function(r) { alert(r.column1); }); No need for a plugin. ;) On 10/20/06, *Rey Bango* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Chris,

Re: [jQuery] Returning a query?

2006-10-20 Thread Aaron Heimlich
On 10/20/06, Rey Bango [EMAIL PROTECTED] wrote: Thanks Aaron!Rey...Your welcome, dude. Happy to help! ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Point me in the right direction...

2006-10-20 Thread Robert
I have just found jQuery today and started using it. Very nice. I am looking to change the values in one combo box based on the choice in another combo box. Does jQuery have something like that or something similiar that you can point me to? Thanks! Robert

Re: [jQuery] Returning a query?

2006-10-20 Thread Aaron Heimlich
You should head over to http://www.json.org. Towards the bottom of the page, there are links to JSON encoders written in many different languages (I'm guessing you would want one of the ColdFusion ones). On 10/20/06, cjordan [EMAIL PROTECTED] wrote: Wow! Replys galore! I feel so loved, now!

Re: [jQuery] Returning a query?

2006-10-20 Thread Rey Bango
Chris, You're going to need to send the query back as a JSON packet. Use the link that I sent for CFJson to convert your query to JSON. Rey... cjordan wrote: Wow! Replys galore! I feel so loved, now! :-D Thanks for the tips guys. JSON sounds like what I want then. I'll give that a search

Re: [jQuery] Returning a query?

2006-10-20 Thread Christopher Jordan
good to note the difference, Mike. For my current purpose, single domain is fine. Thanks for the tip! :) Chris Michael Geary wrote: From Rey Bango: and then use the JSON plugin (http://mg.to/2006/01/25/json-for-jquery) to work with the data. From: Aaron

[jQuery] Test suite failures

2006-10-20 Thread Dave Methvin
I finally got around to setting up a build environment here. With revision 453 I am seeing errors in $.find (sibling axis tests) and several of the ajax functions. Ideas? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Non-Destructive jQuery

2006-10-20 Thread John Resig
Just an optimization, but it would be good to have the .destructiveMethod(selector, function) case not create a new object since it doesn't (permanently) change the original object. It looks like _pushStack will stack the old jQuery object's nodes in the new jQuery object, which it won't use.

[jQuery] Get element ID

2006-10-20 Thread smeranda
How do I get the id of the item which was just clicked? For instance, if a user clicks a td which has a specific id, how do I use this id in my script? $(document).ready(function() { $(td).click(function() { // get the id of the table cell clicked // use the id in a

Re: [jQuery] Get element ID

2006-10-20 Thread John Resig
Something like this: $(document).ready(function() { $(td).click(function() { var id = this.id; // now do stuff with id! }); }); --John How do I get the id of the item which was just clicked? For instance, if a user clicks a td which has a specific id, how

Re: [jQuery] Firefox Javascript console hangs with jQuery?

2006-10-20 Thread Michael Crowl
Yup - can't tell if it's when there are certain timeouts running or not. It even happens when all I've done is declared a $(document).ready() with nothing in it. W2K Firefox 1.5.0.7 jQuery 1.0.2 -- mike Ⓙⓐⓚⓔ wrote: you have debugger enabled in firebug? I had a similar problem. On

[jQuery] Interface ifxshake bug

2006-10-20 Thread aedmonds
Just to make sure the users of ifxshake know (along with Stefan), there is a bug on line 37 of ifxshake.js. This bug causes the failure of the callback function. The simple fix: switch z.callback = z.callback; with z.callback = callback;. Thanks Stefan for Interface! -Aaron -- View this

Re: [jQuery] Tabs plugin 2.0

2006-10-20 Thread Jörn Zaefferer
Klaus Hartl schrieb: Talking about verbosity, isn't fxFade and fxSlide and fxShow and fxHide somewhat verbose? Jörn, I think not. If I've had that documented already you would know why not :-) Cool. I already tried that with my new history/hijax plugin. But I had the need

Re: [jQuery] Test suite failures

2006-10-20 Thread Jörn Zaefferer
Dave Methvin schrieb: I finally got around to setting up a build environment here. With revision 453 I am seeing errors in $.find (sibling axis tests) and several of the ajax functions. Ideas? Those weird errors seem to be related to a change to attr. It seems to occur when using

Re: [jQuery] Point me in the right direction...

2006-10-20 Thread David
Robert schreef: I have just found jQuery today and started using it. Very nice. I am looking to change the values in one combo box based on the choice in another combo box. Does jQuery have something like that or something similiar that you can point me to? quick code here so it may not

[jQuery] Jquery mentioned in an article

2006-10-20 Thread David
http://www.hiveminds.co.uk/node/3141 It's an article about how lite programming is becoming a trend. By that they mean less resources and smaller filesizes. jQuery get mentioned as one of the lite libraries. Too bad they got the url wrong. David

Re: [jQuery] Get element ID

2006-10-20 Thread Adam van den Hoven
Keep in mind that this refers to the element on which the event is being handled, NOT the element that originated the event. See http://www.quirksmode.org/js/events_order.html for an explaination of how events are captured and http://www.quirksmode.org/js/events_properties.html for good measure.

Re: [jQuery] Jquery mentioned in an article

2006-10-20 Thread John Resig
Fixed. I just setup jquery.net and .org to both redirect to jquery.com (good thing I already own them!) Thanks for the heads up! --John On 10/20/06, David [EMAIL PROTECTED] wrote: http://www.hiveminds.co.uk/node/3141 It's an article about how lite programming is becoming a trend. By that

Re: [jQuery] Test suite failures

2006-10-20 Thread John Resig
Dave - Are you running this on a local machine? I had a similar problem too until I realized that the test suite refers to PHP files and such that can only be run on a web server. That's something that needs to be kept in mind when running them. --John On 10/20/06, Dave Methvin [EMAIL

Re: [jQuery] jQuery Kinda Plugin: every

2006-10-20 Thread Blair Mitchelmore
Michael Geary wrote: You can simplify that code quite a bit. every() and doin() are nearly identical, so they can both call a common implementation. Ditto for the two inner loops in stop(). Great suggestions Mike. I noticed that they were very similar but I was too lazy to combine them but

Re: [jQuery] Point me in the right direction...

2006-10-20 Thread Robert
On 10/20/06, David [EMAIL PROTECTED] wrote: Robert schreef: I have just found jQuery today and started using it. Very nice. I am looking to change the values in one combo box based on the choice in another combo box. Does jQuery have something like that or something similiar that you can

Re: [jQuery] jQuery Image Cropper

2006-10-20 Thread sime
If you're not in a rush, I have just started to convert my own cropper, previously written just in javascript (not using any of the libraries). But it will take a few weeks, being a side project and being my first jQuery project. A demonstration of the cropper can be viewed here (click the

Re: [jQuery] Test suite failures

2006-10-20 Thread Karl Swedberg
On Oct 20, 2006, at 7:31 PM, John Resig wrote: Are you running this on a local machine? I had a similar problem too until I realized that the test suite refers to PHP files and such that can only be run on a web server. That's something that needs to be kept in mind when running them.

Re: [jQuery] jQuery Events

2006-10-20 Thread Brandon Aaron
On 10/20/06, Adam van den Hoven [EMAIL PROTECTED] wrote: if (e.target.nodeType == 3) { // defeat Safari bug e.target = e.target.parentNode; } as I don't know whether or not some strange side effects might occur. I suspect not, but I was being cautious. The target property is

Re: [jQuery] Test suite failures

2006-10-20 Thread Karl Swedberg
Ok, this is weird. When I ran the test suite in Firefox 1.5, I got: Tests completed in 11578 milliseconds. 0 tests of 242 failed. Then I ran it in Safari 2.0.4, and Safari crashed. Tried it three times, got the same result. Has anyone else had this problem with running the tests on Safari?