Re: [jQuery] Improvements in Ajax facilities

2006-08-16 Thread John Resig
> o_O So John, when is the 1.0 release due out so that all of this amazing > coolness in svn is available to the masses? :-) This is my hit list: http://proj.jquery.com/dev/bugs/2/ I knocked off about 5 of them, already, tonight and will do a couple more before going to bed. I want 1.0 out by ne

Re: [jQuery] Improvements in Ajax facilities

2006-08-16 Thread Larry Garfield
On Wednesday 16 August 2006 23:30, John Resig wrote: > It should behave that way in all of them, since that feature wasn't > implemented, only inline Javascript worked. However, I just committed > a fix that implemented that :-) Additionally, there is now a new > function: > > $.getScript("foo.js

[jQuery] Code Submission / Core Plugin: $().clone()

2006-08-16 Thread CBWhiz
Add this code to create a working clone function: $.fn.clone = function() { return this.pushStack( jQuery.map( this, function(i){ return i.cloneNode(true); }) , arguments ); }; Use it like so: $('#the_tr').clone().appendTo('#destination_table'); This code was based o

Re: [jQuery] Improvements in Ajax facilities

2006-08-16 Thread John Resig
> This solves the problem of making the scripts globally scoped. Committed! That's a good fix, makes sense too. > Does it behave the same in other browsers? Or is it just my browser? Or just > me :-) It should behave that way in all of them, since that feature wasn't implemented, only inline Jav

Re: [jQuery] Improvements in Ajax facilities

2006-08-16 Thread John Resig
This is an amazing set of fixes/updates. I poured through them, made some tweaks, changes, and bug fixes and committed it to SVN. The big change, from your code, is that 'failure' is now 'error' - to be consistent with the current naming scheme. Keep up the great work! --John On 8/16/06, Taku S

Re: [jQuery] Improvements in Ajax facilities

2006-08-16 Thread ashutosh bijoor
On a related issue to load, I was running into trouble with the embedded script execution that jquery does by default as follows:        // Execute all the scripts inside of the newly-injected HTML        $("script", self).each(function(){             eval( this.text || this.textContent || this.inn

Re: [jQuery] Improvements in Ajax facilities

2006-08-16 Thread Jason Yeckel
Good looking out i take it this all works with the ajax wrapper. Jason Y 3spn.net Taku Sano (Mikage Sawatari) wrote: > With Ajax facilities of jQuery, it is not easy to deal with errors. In > addition, it is inconvenient to repeat reloading the same URL to > observe changes. Please confirm my pat

Re: [jQuery] Improvements in Ajax facilities

2006-08-16 Thread ashutosh bijoor
These are very important issues that you have addressed. Thanks for sharing the work. RegardsAshutoshOn 8/17/06, Taku Sano (Mikage Sawatari) < [EMAIL PROTECTED]> wrote:With Ajax facilities of jQuery, it is not easy to deal with errors. In addition, it is inconvenient to repeat reloading the same UR

[jQuery] Improvements in Ajax facilities

2006-08-16 Thread Taku Sano (Mikage Sawatari)
With Ajax facilities of jQuery, it is not easy to deal with errors. In addition, it is inconvenient to repeat reloading the same URL to observe changes. Please confirm my patch handles these issues. [patch for svn.208] http://pepper.sherry.jp/jquery/newajaxpatch-svn208.patch [test page] http://pe

Re: [jQuery] Dom creation

2006-08-16 Thread Corey Frang
Except for the fact that IE doesn't seem to like innerhtml including etc Michael Geary wrote: >> From: Aloyzas Rimeika >> >> ...But I recommend use $.dom plugin only in XHTML pages with >> MIME type application/xhtml+xml >> http://www.quirksmode.org/bugreports/archives/2004/11/innerhtml_in_xh.

Re: [jQuery] Dom creation

2006-08-16 Thread Michael Geary
> From: Aloyzas Rimeika > > ...But I recommend use $.dom plugin only in XHTML pages with > MIME type application/xhtml+xml > http://www.quirksmode.org/bugreports/archives/2004/11/innerhtml_in_xh.html > > Easier and faster solution is innerHTML > http://www.quirksmode.org/dom/innerhtml.html > >

Re: [jQuery] Help with the SVN Build Process [u]

2006-08-16 Thread devsteff [c]
I've an ANT build for my development environment before and I added targets to checkout/update the latest version from the SVN. The available tag checks, if an SVN version exist (my eclispe project was initial empty), if not an initial checkout is done, otherwise the sources are updated. If you're

Re: [jQuery] New Plugin: jQMinMax - Add min-/max- height & width support

2006-08-16 Thread Dave Cardwell
John Resig wrote: > This is nice Dave, I like the test that you did to see if min-width > works. One quick point: You should mention, explicitly, that you don't > need to run $.minmax.expressions(), since it's already run on document > ready. Other than that, looks great :-) Thanks for the feedbac

Re: [jQuery] jQuery build syste - ant task

2006-08-16 Thread John Resig
> Could someone please commit the ant build created by Mike and Christian to > the repository? The Ant build file it is now in SVN, along with an updated README file - enjoy! --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Dom creation

2006-08-16 Thread Aloyzas Rimeika
> I think i am getting a tad closer i am trying to find out how i can make > multi rows with a > for loop then insert them in to the table or just put them in a var in > the deleration of the table > it self. I have been looking at this callender.js and i am a tad confused :( > > var days = []; > f

Re: [jQuery] jQuery vs Prototype

2006-08-16 Thread vaskaf
  http://jdsharp.us/code/jd_Menu/jd_Menu.html)Doesn't work in Safari 2.0.1___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] date picker plugin update

2006-08-16 Thread Chris Domigan
I think the "input.date-picker" css style should be changed to "div.date-picker-holder input", as your usage instructions don't say anything about having to give the input element a "date-picker" class name. Either that or get the plugin to set the input classname to "date-picker" automatically. As

Re: [jQuery] New Plugin: jQMinMax - Add min-/max- height & width support

2006-08-16 Thread John Resig
This is nice Dave, I like the test that you did to see if min-width works. One quick point: You should mention, explicitly, that you don't need to run $.minmax.expressions(), since it's already run on document ready. Other than that, looks great :-) --John > Thanks for the reply. > > 1) So I did:

Re: [jQuery] jQuery vs Prototype

2006-08-16 Thread Matt Stith
Im with Jonathan on this one. jQuery is the only library ive ever used, and its done everything ive ever needed.On 8/16/06, Jonathan Sharp < [EMAIL PROTECTED]> wrote:I would agree with Corey. We've been using jquery in a large scale application. We evaluated jquery and prototype a while back but we

Re: [jQuery] Help with the SVN Build Process

2006-08-16 Thread John Resig
Step 1: Go to this page and download and install "Java Runtime Environment (JRE) 5.0": http://java.sun.com/javase/downloads/index.jsp Step 2: Download and install Apache Ant: http://ant.apache.org/bindownload.cgi Step 3: Go to the jQuery directory and type 'ant'. You now have a compiled version o

Re: [jQuery] jQuery vs Prototype

2006-08-16 Thread Jonathan Sharp
I would agree with Corey. We've been using jquery in a large scale application. We evaluated jquery and prototype a while back but were forced to start prototyping ui's quickly and so we picked jquery and figured we'd re-evaluate when implementation began. We've never re-evaluated since there has

[jQuery] Help with the SVN Build Process

2006-08-16 Thread CBWhiz
Hello. I have been building via the build.cmd script (i'm on windows) for some time. However, recently you changed it to be 'unix like' building, with makefiles, and throwing in somethign about java to boot. Needless to say, I'm confused. Can you give a 'linux-build-enviornment' newbie a quick tu

Re: [jQuery] date picker plugin update

2006-08-16 Thread Kelvin Luck
> Another vote for markup generated via scripting rather than editing > the page. That way, you will get more graceful degredation (for when > JavaScript is disabled or the browser cannot handle the code). All done :) Although it degraded just as gracefully before it is now a little neater! >

[jQuery] Help with the SVN Build Process

2006-08-16 Thread CBWhiz
Hello. I have been building via the build.cmd script (i'm on windows) for some time. However, recently you changed it to be 'unix like' building, with makefiles, and throwing in somethign about java to boot. Needless to say, I'm confused. Can you give a 'linux-build-enviornment' newbie a quick

Re: [jQuery] date picker plugin update

2006-08-16 Thread bbuchs
WOW! I can't believe you cranked that out so quickly. Very well done. [ I totally agree with your comment about a global date format ] -- View this message in context: http://www.nabble.com/date-picker-plugin-update-tf2109968.html#a5840192 Sent from the JQuery forum at Nabble.com. ___

Re: [jQuery] date picker plugin update

2006-08-16 Thread Kelvin Luck
> Now, if there were a way to make the start and end dates dependent on > another date picker field, then you'd have support for "from" and "to" > date fields, automatically enforcing the the to can't be after the from. > That would be highly cool. :-) Along with the changes I just announced I al

Re: [jQuery] jQuery vs Prototype

2006-08-16 Thread Corey Jewett
You'd be surprised at how much functionality jQuery packs into such a small package. I used to use prototype, but I've switched to jQuery completely. Maybe the largest piece of functionality you'll give up is access to some of the other stuff that leverages prototype (e.g. scriptaculous).

Re: [jQuery] date picker plugin update

2006-08-16 Thread Kelvin Luck
Hi, Thanks for the great feedback! My comments below... bbuchs wrote: > I would argue that "less is more". One of the most fantastic things about > jQuery and the syntax is that it's so damn light. What's the most common > scenario for a date picker in a web app? Is it really neccessary to pick a

[jQuery] jQuery vs Prototype

2006-08-16 Thread Menier, Todd
Hello, I'm new to this mailing list and have recently begun the process of evaluating jQuery. After looking at a wide variety of _javascript_/Ajax libraries, I've narrowed my choices down to jQuery and Prototype. Though I understand there's nothing stopping me from using both, there's lots

Re: [jQuery] New Plugin: jQMinMax - Add min-/max- height & width support

2006-08-16 Thread Dave Cardwell
Hello John. Thanks for the reply. 1) So I did: http://davecardwell.co.uk/geekery/javascript/jquery/jqminmax/ 2) Whoops, the problem was with my code - sorted now, thanks. Best wishes, Dave Cardwell ~ http://davecardwell.co.uk/ John Resig wrote: > Hi Dave - > > Two quick points. > 1) I

Re: [jQuery] New Plugin: jQMinMax - Add min-/max- height & width support

2006-08-16 Thread John Resig
Hi Dave - Two quick points. 1) I think you forgot to actually link to your new plugin. 2) The min/max height bug has been fixed in SVN, test page: http://john.jquery.com/jquery/test/tests/minheight.html --John On 8/16/06, Dave Cardwell <[EMAIL PROTECTED]> wrote: > Hello again, folks. > > "jQMinM

Re: [jQuery] Simple checkbox replacement

2006-08-16 Thread John Resig
> Does $("") use DOM methods (i.e. document.createElement) or > innerHTML for creating elements? It uses the same techniques as what's used in .append(), etc. Namely, creating a temporary element, inserting the html in the innerHTML, then pulling the constructed DOM back out again. So any valid

Re: [jQuery] date picker plugin update

2006-08-16 Thread Sam Collett
On 15/08/06, Larry Garfield <[EMAIL PROTECTED]> wrote: > On Tue, August 15, 2006 11:49 am, bbuchs said: > > > > I would argue that "less is more". One of the most fantastic things about > > jQuery and the syntax is that it's so damn light. What's the most common > > scenario for a date picker in a

[jQuery] New Plugin: jQMinMax - Add min-/max- height & width support

2006-08-16 Thread Dave Cardwell
Hello again, folks. "jQMinMax is a jQuery plugin that adds support for min-width, max-width, min-height and max-height where they are not natively supported." This is a plugin based on some earlier work I did. It's tidied up a bit, though the min-height bug I mention before persists in the lat

Re: [jQuery] Simple checkbox replacement

2006-08-16 Thread Sam Collett
On 15/08/06, John Resig <[EMAIL PROTECTED]> wrote: > This is some great code - I really dig it. It's super simple, which is good. > > Just as a mini-tutorial to the upcoming 1.0b, here are some of the > changes that are possible: > > jQuery.fn.checkbox = function (opt) { > $("[EMAIL PROTECTED]'

[jQuery] First focusable element?

2006-08-16 Thread Webunity | Gilles van den Hoven
Is the following code, to find the first focusable element on the page, correct? Or am i missing something (e.g. other elements, ordering etc.)? oElem = $(document).find("a,frame,iframe,label,input,select,textarea,button").filter(":visible").filter(":enabled")[0]; With latest SVN off course --

Re: [jQuery] Dom creation

2006-08-16 Thread Jason Yeckel
I think i am getting a tad closer i am trying to find out how i can make multi rows with a for loop then insert them in to the table or just put them in a var in the deleration of the table it self. I have been looking at this callender.js and i am a tad confused :( var days = []; for (var i=0;

Re: [jQuery] .contains() ?

2006-08-16 Thread Webunity | Gilles van den Hoven
John Resig wrote: > The problem has more to do with the fact that you're doing two things wrong: > 1) You're setting focus to a element... which is unfocusable. > 2) You're setting focus to the element before you ever finish the focus > function of the previous element - creating an infinite loop

Re: [jQuery] Simple checkbox replacement

2006-08-16 Thread John Resig
> this should work to? > > $("foo").appendTo("body").find("li").click(...); > > or does appendTo break the chain? That is correct, that would work equally as well (and better, since it doesn't leak) - since appendTo() does not break the chain. --John _

Re: [jQuery] Looking for the form JS in SVN,,,

2006-08-16 Thread John Resig
It's there, I've just moved it. When you checkout jQuery, just do this: svn co svn://jquery.com/plugins all the plugins are in that directory. This makes much more sense than keeping plugins in the main jQuery directory. --John On 8/16/06, Webunity | Gilles van den Hoven <[EMAIL PROTECTED]> wro

Re: [jQuery] Some mails not arriving

2006-08-16 Thread Acuff, Daniel (Comm Lines, PAC)
John posted the server has been rebooted. Post away. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Webunity | Gilles van den HovenSent: Wednesday, August 16, 2006 10:06 AMTo: jQuery Discussion.; John ResigSubject: [jQuery] Some mails not a

[jQuery] Some mails not arriving

2006-08-16 Thread Webunity | Gilles van den Hoven
I've send some mails today to the mailing list (2 of them) but haven't received copys of them. Is there a glitch in the mailing list? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] New Plugin: jQBrowser - Exte nd jQuery’s browser detection capabilities

2006-08-16 Thread Rafael Santos
very useful for me thx man!!!2006/8/16, Dave Cardwell <[EMAIL PROTECTED]>: Hi folks.I needed browser detection that was a little more robust than $.browserso I wrote a quick plugin to extend it.Please let me know if you find any problems with it.  Any other feedbackis also more than welcome. ht

[jQuery] Looking for the form JS in SVN,,,

2006-08-16 Thread Webunity | Gilles van den Hoven
Hmm, seems that the form.js is out of SVN, what was the reason for that? I think it should stay in SVN, since so many developers can depend on that (serialize, ajaxform etc) ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Simple checkbox replacement

2006-08-16 Thread Klaus Hartl
Dave Methvin schrieb: >> $("foo").find("li").click(...).end().appendTo("body"); > > IE6 leaks a small amount of memory if you attach an event handler before > tacking it onto the body: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ietechcol/d > nwebgen/ie_leak_patterns.asp

[jQuery] Server Outage

2006-08-16 Thread John Resig
Hi Everyone - It appears as if the jQuery server was down for some indeterminate amount of time this morning (GMT -0500), it has now been restarted and is working fine. I know that some of you tried to send mails to the mailing list - now would be a good time to try again. --John ___

Re: [jQuery] Simple checkbox replacement

2006-08-16 Thread Dave Methvin
> $("foo").find("li").click(...).end().appendTo("body"); IE6 leaks a small amount of memory if you attach an event handler before tacking it onto the body: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ietechcol/d nwebgen/ie_leak_patterns.asp Probably isn't worrisome unless you

Re: [jQuery] Simple checkbox replacement

2006-08-16 Thread zaadjis
don't forget the , also 'css only' would do in this case. saw this here: http://www.chriserwin.com/scripts/crir/ __ Advertisement: Es iesu uz uz mobilo festivalu „re:loud”! 14 grupas, 2 skatuves, DJ telts, atrakcijas 1.septembri Mezaparka estrade www.reloud.lv

[jQuery] jQuery build syste - ant task

2006-08-16 Thread Jörn Zaefferer
Olla! Could someone please commit the ant build created by Mike and Christian to the repository? Thanks. -- Jörn -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _