[jQuery] Best AJAX transfer method?

2009-12-02 Thread ScottChiefBaker
For server side scripts I'm wondering if there is an inherent advantage to returning XML vs JSON (or vice versa). I've always returned XML because I find it's more human readable, and thus I can verify the data better. I'm talking strict data structures (arrays,lists, etc), no HTML. I would imagin

[jQuery] Adding new table rows on the fly?

2009-05-15 Thread ScottChiefBaker
Do you know if you can clone() and then appendTo() a http://www.perturb.org/tmp/test.html I want to something like $("#second").clone().appendTo('#second'); It works, but it doesn't render like I want it to. I want it to be a NEW row. Any ideas? - Scott

[jQuery] Re: Parsing XML with IE?

2009-05-07 Thread ScottChiefBaker
7;s explained > here:http://groups.google.com/group/jquery-en/browse_frm/thread/95718c9aab... > > On May 7, 10:24 pm, ScottChiefBaker wrote: > > > I created a simple test case: > > >http://www.perturb.org/tmp/jquery-test.html > > > On May 7, 12:41 pm, ScottChief

[jQuery] Re: Parsing XML with IE?

2009-05-07 Thread ScottChiefBaker
I created a simple test case: http://www.perturb.org/tmp/jquery-test.html On May 7, 12:41 pm, ScottChiefBaker wrote: > The following example works great in Firefox, and Chrome but fails > miserably in IE (6,7,8). I'm running JQuery 1.3.2 if it makes a > difference: > > $(

[jQuery] Parsing XML with IE?

2009-05-07 Thread ScottChiefBaker
The following example works great in Firefox, and Chrome but fails miserably in IE (6,7,8). I'm running JQuery 1.3.2 if it makes a difference: $('resp',"value").text(); That evaluates to "vaule" in everything except IE. Am I missing something?

[jQuery] Re: Minified and Gzip?

2009-02-19 Thread ScottChiefBaker
On Feb 17, 9:55 pm, Ricardo Tomasi wrote: > How are you checking it? The 'Net' tab in Firebug should tell you if > it's gzipped or not. I just checked firebug: Content-Length: 55774 Content-Type: application/x-javascript What should my apache config look like?

[jQuery] Minified and Gzip?

2009-02-17 Thread ScottChiefBaker
How do I setup JQuery to be server Gzipped? Using apache I installed mod_deflate and set it up to serve .js files as gzipped, but it doesn't seem to be working. Does anyone have any example configurations I could steal from? - Scott