[jQuery] Re-implementing Ext-js webapp using jQuery

2009-04-28 Thread Kynn Jones
I want to use jQuery to re-implement a webapp that was originally implemented (by someone else) using Extjs. The only things I like about Extjs are the uniform look of its widgets and the broad range of widgets it supports. But I find Extjs too big to find my way around, and often slow. I know th

[jQuery] Re: How to uninstall the

2008-10-07 Thread Kynn Jones
global var instead of the callback itself? > > > Kynn Jones wrote: > >> I have a jQuery-based script that performs some updates on the current >> page (using the load method), and eventually visits a second page, by >> resetting window.location. >> >> This

[jQuery] How to uninstall the

2008-10-06 Thread Kynn Jones
I have a jQuery-based script that performs some updates on the current page (using the load method), and eventually visits a second page, by resetting window.location. This works fine, but if the user hits the back button, the whole sequence is repeated, including the re-loading of the second page

[jQuery] Re: Basic AJAX Q: how to replace current with XHR-fetched page?

2008-10-03 Thread Kynn Jones
On Fri, Oct 3, 2008 at 3:53 AM, Thomas Danemar <[EMAIL PROTECTED]>wrote: > > > Did that answer your question? > > Did it ever! That's awesome. Thanks! Kynn

[jQuery] filter vs find

2008-02-04 Thread Kynn Jones
Could someone explain to me the difference between filter and find. Their descriptions sound very similar to me. What are the criteria to choose one over the other? TIA! kynn

[jQuery] Data-inspection jQuery plugin?

2008-02-03 Thread Kynn Jones
Hello. I've been looking for a data-inspector plugin for jQuery, to use during debugging. The functionality I'm interested in is similar to the one offered by Firebug's data inspection window. I.e. it should let one inspect an arbitrarily deep JavaScript data element. (It would be great if it co

[jQuery] How to logically AND selectors?

2008-01-30 Thread Kynn Jones
Hi. The docs describe selectors of the form selector1, selector2, selector3 as "matching the combined results of all the specified selectors", by which they mean the set union of all the individual selections. In other words, the ',' here behaves like a logical OR. Is there a succinct way t

[jQuery] Re: How to add item directly to $ ?

2008-01-28 Thread Kynn Jones
On Jan 28, 2008 1:23 PM, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Try this: > > var opts = $( 'option', select ); > opts = opts.add( $('New option').appendTo(select)[0] ); Ah! I see what I was doing wrong. I thought mistakenly that the add method modified opts in situ, so I was not assigning i

[jQuery] How to add item directly to $ ?

2008-01-28 Thread Kynn Jones
Hi. I'm just getting started with jQuery and I'm still trying to figure out how to do some common tasks. Here's one of them. Suppose I have something like: var opts = $( 'option', select ); ...where select is some DOM element, and later I create a new option var o = document.createElement(

[jQuery] Re: Q: on handling GET JSON

2008-01-23 Thread Kynn Jones
On Jan 23, 2008 7:44 AM, Kynn Jones <[EMAIL PROTECTED]> wrote: In fact, what the post does... > I meant to write "In fact, what the posted code does..." Sorry for the typo. kynn

[jQuery] Re: Q: on handling GET JSON

2008-01-23 Thread Kynn Jones
Thanks, but I don't follow what you write here. The test !s.url.indexOf("http") evaluates to !0 == TRUE when the s.url begins with "http". It is then that

[jQuery] Q: on handling GET JSON

2008-01-22 Thread Kynn Jones
I'm confused by something I found in the definition of $.ajax in the jQuery source, and would greatly appreciate it if someone could shed some light on the matter. The part of the code in question is this (I've made a couple of minor formatting changes for clarity): // If we're requesting a remot