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.
},
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
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.
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
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
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/
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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(
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
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
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:
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
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
$(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/
27 matches
Mail list logo