[jQuery] The format of xml response

2006-08-21 Thread millisami
The following is the interface file: script language=javascript type=text/javascript $(document).ready(function(){ $(a).click(function(){ $.post(ajax-post-handler.php,{ name: John, address: 123 Main St. },

Re: [jQuery] The format of xml response

2006-08-21 Thread Michael Geary
You are not sending down a Content-type: text/xml header, so the browser is interpreting your XML as plain text. To confirm this suspicion, change your alert to: alert( xml ); You want the alert to display something like [object XMLwhatever]. Instead, it will probably display the actual XML

Re: [jQuery] $(this).getAttribute(href) Doesn't work

2006-08-21 Thread Smith, George
why wouldn't you just do this.href -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nilesh Patel Sent: 16 August 2006 22:22 To: discuss@jquery.com Subject: [jQuery] $(this).getAttribute(href) Doesn't work hey , I found a solution that works correctly.

[jQuery] Serializable Form Upload Element

2006-08-21 Thread ashutosh bijoor
HiI was looking around for a neat and generic way to handle file uploads. I found several different approaches, and it seems like this is a classic case for using ajax in any case ( http://www.codeandcoffee.com/2006/08/02/too-much-ajax/). Some of the references I found:- Asynchronous file

Re: [jQuery] Oddness with jq-corner plugin. [solved]

2006-08-21 Thread Jason Huck
Jason Huck wrote: If I open the test page directly (as in file://...), it works fine. However, if I *serve* the exact same page via my local copy of Apache (1.3.x on OS X), the corners don't work. It turned out to be file permissions on the jq-corner.js script. Apache runs under a

Re: [jQuery] Setting AJAX headers, and selecting namespaced nodes

2006-08-21 Thread Mike Alsup
That would be a nice addition. Has there been any discussion of having jQuery automatically use: X-Requested-With: XMLHttpRequest It already does. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] slideDown/Up from/to settings

2006-08-21 Thread Peter Lambert
Hi, I am trying to create a set of tabbed panels. Whenever a tab is clicked instead of simply hiding one div and showing another I want the existing tab panel to grow or shrink to the size of the next tab panel. To do this I have been looking at jQuery's slideDown and slideUp methods however

Re: [jQuery] Setting AJAX headers, and selecting namespaced nodes

2006-08-21 Thread Jason Huck
malsup wrote: That would be a nice addition. Has there been any discussion of having jQuery automatically use: X-Requested-With: XMLHttpRequest It already does. Excellent! One more reason to keep using it. -- View this message in context:

Re: [jQuery] How to combine lt and gt?

2006-08-21 Thread Klaus Hartl
Michael Fuerst schrieb: Hi, how do I combine lt and gt? $(p:lt(5):gt(3)) or $(p:lt(5) gt(3)) doesn't seem to work... michael I think I made it once like this (cannot find it anymore): $(p:lt(5)).filter(p:gt(3))... ; Maybe this is enough: $(p:lt(5)).filter(:gt(3))... ; -- Klaus

[jQuery] slideDown/Up from/to settings

2006-08-21 Thread Peter Lambert
Hi, I am trying to create a set of tabbed panels. Whenever a tab is clicked instead of simply hiding one div and showing another I want the existing tab panel to grow or shrink to the size of the next tab panel. To do this I have been looking at jQuery's slideDown and slideUp methods however

[jQuery] TableSorter 1.0.3 plugin for jQuery released

2006-08-21 Thread Christian Bach
ChangeLog -- * Renamed tablesorter.js jquery.tablesorter.js * Bugfix: Now possible to have to instaces of tableSorter with diffrent defaults. * Bugfix: sortColumn would not work with value 0. * Added: Support for John's soon to be released pager plugin. * Added: Support for US

Re: [jQuery] TableSorter 1.0.3 plugin for jQuery released

2006-08-21 Thread Dan Atkinson
Hey! Great stuff Christian! I'm having a problem looking at your examples. It's telling me that $ is not defined. I'm not sure if you've put the js file in the right place or not, but this happens in all my browsers. Cheers Christian Bach wrote: ChangeLog -- * Renamed

Re: [jQuery] TableSorter 1.0.3 plugin for jQuery released

2006-08-21 Thread Sam Collett
On 21/08/06, Christian Bach [EMAIL PROTECTED] wrote: ChangeLog -- * Renamed tablesorter.js jquery.tablesorter.js * Bugfix: Now possible to have to instaces of tableSorter with diffrent defaults. * Bugfix: sortColumn would not work with value 0. * Added: Support for John's

Re: [jQuery] TableSorter 1.0.3 plugin for jQuery released

2006-08-21 Thread Christian Bach
Sorry, I moved around the examples before the release and forgot to change the script-path. The examples should be working now :) /christian Dan Atkinson wrote: Hey! Great stuff Christian! I'm having a problem looking at your examples. It's telling me that $ is not defined. I'm not

Re: [jQuery] TableSorter 1.0.3 plugin for jQuery released

2006-08-21 Thread Dan Atkinson
The only stuff I know about is from w3schools: http://www.w3schools.com/jsref/jsref_obj_date.asp Sam Collett wrote: On 21/08/06, Christian Bach [EMAIL PROTECTED] wrote: ChangeLog -- * Renamed tablesorter.js jquery.tablesorter.js * Bugfix: Now possible to have to instaces

Re: [jQuery] TableSorter 1.0.3 plugin for jQuery released

2006-08-21 Thread Christian Bach
Sam Collett wrote: It just keeps getting better with each release... Thanks! Perhaps you could add GMT/UTC as well: Regular Expression = [A-Za-z]{3},\s[0-3]?[0-9]\s[A-Za-z]{3}\s[0-9]{4}\s[0-1]?[0-9]:[0-5][0-9]:[0-9]?[0-9]\sGMT Will match Mon, 21 Aug 2006 15:54:16 GMT Sure thing, will

[jQuery] AJAXGrid plugin

2006-08-21 Thread Stefan Petre
This is a plugin I worked on a lot. Has a lot of features: in place edit: the cells converts into text field, textarea or select resizeable columns keyboard navigation live scrolling triggers events on select and onsort , based on those you can link two grids or interact with

[jQuery] AJAXGrid plugin - text version

2006-08-21 Thread Stefan Petre
Maybe this time the text gets right: This is a plugin I worked on a lot. Has a lot of features: * in place edit: the cells converts into text field, textarea or select * resizeable columns * keyboard navigation * live scrolling * triggers events on select and onsort , based

[jQuery] New Plugin: jQEm - Interact with the base 'em' unit.

2006-08-21 Thread Dave Cardwell
Hello there, folks. While working on the next release of jQMinMax[1] (coming soon) it became apparent that I'd need to be notified when the user increased or decreased the font size. I can imagine there are a number of situations where this might come in handy, thus I give you jQEM. The

Re: [jQuery] jQuery via NNTP @ GMANE

2006-08-21 Thread John Resig
Per my request, jQuery mailing list is now available via NNTP at: nntp://news.gmane.org/gmane.comp.lang.javascript.jquery I tried to get jQuery on GMANE back in February but they never finished setting it up... oh well, moot point now. Thanks for setting it up! --John

Re: [jQuery] Erasing contents of a form

2006-08-21 Thread Bruce MacKay
Thanks for the responses Kenton,Matt. I've only been partially successful however in progressing these solutions. I have tried your solutions: The .val is partially successful in that it erases a form element's content, but only by inserting a blank space in its place (e.g. $(#sComment).val(

Re: [jQuery] Erasing contents of a form

2006-08-21 Thread Bruce MacKay
Thanks Ashutosh /Dave. Yes Dave, I did mean #commentsFormZ - sorry. Neither of these solutions fired, so perhaps there must be something else in my code screwing things up. The site is at http://www.callas.org.nz/e_books.asp?id=showpID=1cID=156 - feel free to add a comment! Cheers, Bruce

Re: [jQuery] jQuery and openjsan.org

2006-08-21 Thread John Resig
John - Cool. I'm glad Perl is still alive. ;-) I'm a Perl guy too, but I wanna put in my 2 cents. ;-) I've been following JSAN since the very beginning and love the concept, and would love to see it grow. If so, I'd really like to hear your thoughts on openjsan.org and how we could make it

Re: [jQuery] New Plugin: jQEm - Interact with the base 'em' unit.

2006-08-21 Thread John Resig
This is really great Dave - I've definitely needed something like this in some of my projects. A couple quick suggestions: - Using an event name like fontSizeChange may make more sense than jqem. - Also, it's possible to pass arguments in to an event that's been triggered, like so:

Re: [jQuery] html() + firebug = funky

2006-08-21 Thread John Resig
Yeah, I think I accidentally regressed on that, I'll see if I can't resolve it for 1.0: Re-opened: http://proj.jquery.com/dev/bugs/bug/60/ --John There are two bug filed for this: http://proj.jquery.com/dev/bugs/bug/22/ http://proj.jquery.com/dev/bugs/bug/60/ But for some reason they have

Re: [jQuery] jQuery and openjsan.org

2006-08-21 Thread John Resig
Frankly, I think a better solution for jQuery is to become its own repository. :-) Provide svn space for contrib modules, under a common MIT/GPL dual license, automate the documentation, make it easy to mix and match. Right now there's just so many cool things being announced on the list

Re: [jQuery] How to combine lt and gt?

2006-08-21 Thread John Resig
$(p).bt(2,5) for between. This should mathematical be 2 x 5. I like that - I'll probably add it in post-1.0. --John ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/