My understanding was that the plugin looked inside the form tag for the
action:
and when you click submit, instead of doing an old fashioned submit, the
ajaxForm plugin kicks in, reads action="" from the form tag, and does it via
AJAX.
I have a similar form on another page that works perfectly:
Mike Rubits schrieb:
> How is it returning XML at all? The only thing it's returning is a 404 error
> code. It's supposed to post to the action attrib of the form, instead it's
> posting to "/modules/tasks/[object htmlInputElement]" instead of
> taskaction.php.
Does your form contain an input fie
Matt Stith schrieb:
> AJAX is supposed to return XML, so its doing what its made to do.
It returns whatever MIME type you want the server to respond.
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Justin Carter schrieb:
> Hi All,
>
> I'm building a new site using jQuery (obviously) and sIFR (2.0.2) for
> replacement of Heading text. sIFR forces you to specify your text
> color in the replaceElement function but since I have different style
> sheets for different parts of the site I prefer
Hi All,
I'm building a new site using jQuery (obviously) and sIFR (2.0.2) for
replacement of Heading text. sIFR forces you to specify your text
color in the replaceElement function but since I have different style
sheets for different parts of the site I prefer not to hard code color
values into t
How is it returning XML at all? The only thing it's returning is a 404 error
code. It's supposed to post to the action attrib of the form, instead it's
posting to "/modules/tasks/[object htmlInputElement]" instead of
taskaction.php.
Matt Stith wrote:
>
> AJAX is supposed to return XML, so its d
I just added a patch to trac [1] that resolves the opacity issues (at
least all the ones I was having thus far) in IE. Unfortunately, I am
running behind as it is on my project and don't have time to write
tests also (other than my project, which I can't show yet). It would
be very nice if a few pe
On Sep 17, 2006, at 10:27 PM, John Resig wrote:
> try text.substr(0).toLowerCase() again.
Thanks, John! Right on target, except it needed the second argument:
text.substr(0,1).toLowerCase()
Also had to deal with the possibility of the first paragraph starting
with some sort of tag, like so:
Hi
I am looking for a type-writer effect (the text of an element types
out). Anyone aware of this?
I would sponsor this plugin, so if anyone can tell me how long such a
plug-in might take to create - this would be useful for a proposal I am
writing.
Thanks
Simon
__
AJAX is supposed to return XML, so its doing what its made to do.
On 9/17/06, Mike Rubits <[EMAIL PROTECTED]> wrote:
>
> Yet another feature about FireBug I didn't realize :)
>
> I've found the rather obvious source of the problem, not sure if it's a
> JQuery bug, but it's odd nonetheless. It's no
> Well, I guess I spoke too soon. It does work brilliantly in Firefox
> and Safari, but I get an error in IE6 related to $('')
>
> Error: '0' is null or not an object
>
> So it chops off the first letter, but doesn't add the image.
>
> Any ideas?
Maybe IE doesn't support the following synt
On Sep 16, 2006, at 10:16 PM, Karl Swedberg wrote:
> works brilliantly! ( after changing the period to a semicolon in the
> line, " firstP.innerHTML = text.slice(1). " )
>
> On Sep 16, 2006, at 8:48 PM, John Resig wrote:
>
>> Maybe something like this?
>>
>> function swap_letter() {
>> var firs
You can also sign up via NNTP (news groups) server at:
nntp://news.gmane.org/gmane.comp.lang.javascript.jquery
Then go to mailman account settings, and set the option not to receive
emails anymore. You will still be able to post via the email, but all
the reading will be done via NNTP. Another
On 9/18/06, limodou <[EMAIL PROTECTED]> wrote:
> On 9/18/06, Stefan Petre <[EMAIL PROTECTED]> wrote:
> > limodou wrote:
> > > This code I copy from prototype, and made some changes, it doesnot
> > > calculate the width and height, only x and y, but it's quicker than
> > > jUtil.getPos(). BTW, I thi
On 9/18/06, Stefan Petre <[EMAIL PROTECTED]> wrote:
> limodou wrote:
> > This code I copy from prototype, and made some changes, it doesnot
> > calculate the width and height, only x and y, but it's quicker than
> > jUtil.getPos(). BTW, I think interface plugins is wonderful, I begin
> > use it to
On 9/18/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
>
> limodou schrieb:
> > This code I copy from prototype, and made some changes, it doesnot
> > calculate the width and height, only x and y, but it's quicker than
> > jUtil.getPos(). BTW, I think interface plugins is wonderful, I begin
> > use i
This update allows the use of the semantically correct "for" attribute instead of forcing the label to be immediately after the checkbox. It also requires that the checkbox be hidden via CSS, rather than via the plugin.
/* Images as Checkboxes */ jQuery.fn.cssCheckbox = function () {
Yet another feature about FireBug I didn't realize :)
I've found the rather obvious source of the problem, not sure if it's a
JQuery bug, but it's odd nonetheless. It's not getting the form action
correct:
POST http://192.168.0.3/modules/tasks/%5Bobject%20HTMLInputElement%5D
The ajaxForm is bein
Hi John thanks for your code
I solved the attr('name') issue (I was fooled by the reloading)
and I've done a little form checker plugin in a few hours, thanks to
jquery !
Is there a similar project known in the community ?
olivvv
John Resig wrote:
Oliver -
Please make sure that you're usi
--- Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Mark Sams schrieb:
> > I have changed the obvious errors and the tree
> builds
> > and collapses and expands individual elements. The
> > problem exists when collapsing an inside element,
> then
> > a parent element, then expanding them in reverse.
>
Mark Sams schrieb:
> I have changed the obvious errors and the tree builds
> and collapses and expands individual elements. The
> problem exists when collapsing an inside element, then
> a parent element, then expanding them in reverse. e.g.
>
Could you post a link to your modified version? That
Hi,I'm responding to a few things in this post.First, I took a look at Bryan's example pages. The problem you see
on the second page (where isortables.js has been included, but no
Sortables have been declared) that throws the error "jQuery.iSort.helper.get
is not a function";
I've had this proble
The TreeView example given at:
http://be.twixt.us/jquery/treeView.php
does not change the heights properly with newer
versions of JQuery. It works fine with Rev 29 of
jquery from May, but not newere versions.
I have changed the obvious errors and the tree builds
and collapses and expands indivi
Oliver -
Please make sure that you're using jQuery 1.0.1:
http://jquery.com/src/jquery-1.0.1.js
--John
On 9/17/06, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote:
>
> Wow lots of answers thanks ;)
> Unfortunatly this.attr('name') or this.attr('id') are breaking the code.
> (No js error but
Thanks a lot, its working fine.
Matt Stith wrote:
http://interface.eyecon.ro/demos/ifxscrollto.html
If you are looking for something that is equivilent to something in
script.aculio.us, or moo.fx, the first place you should try is
Interface.
http://interface.eyecon.ro/demos
On 9/
in case you dont know, FireBug is a firefox extention. You can find it pretty quick on google.On 9/17/06, Yehuda Katz <
[EMAIL PROTECTED]> wrote:Get Firebug and turn on Debug XMLHttpRequests.
On 9/17/06, Mike Rubits <[EMAIL PROTECTED]> wrote:
Currently I'm using $("#loading").ajaxError(function(){
Get Firebug and turn on Debug XMLHttpRequests.On 9/17/06, Mike Rubits <[EMAIL PROTECTED]> wrote:
Currently I'm using $("#loading").ajaxError(function(){ to display an alertbox when an AJAX error occurs. Is there anyway I can get more detailed infoabout what the error it returned is? I'm currently t
Currently I'm using $("#loading").ajaxError(function(){ to display an alert
box when an AJAX error occurs. Is there anyway I can get more detailed info
about what the error it returned is? I'm currently trying to make my way
through a problem with a form, and am not quite sure where to start as al
limodou wrote:
> This code I copy from prototype, and made some changes, it doesnot
> calculate the width and height, only x and y, but it's quicker than
> jUtil.getPos(). BTW, I think interface plugins is wonderful, I begin
> use it to replace some functions written by me.
>
> $.fn.coordinate = fu
limodou schrieb:
> This code I copy from prototype, and made some changes, it doesnot
> calculate the width and height, only x and y, but it's quicker than
> jUtil.getPos(). BTW, I think interface plugins is wonderful, I begin
> use it to replace some functions written by me.
>
> $.fn.coordinate
Olivier,
this.attr('name')
$(this.id)
In the first line you are trying to call the attr method on a DOM node
(which is not defined), in the second you are passing a string (the id
of the element this refers to) to the $ function, which returns an empty
jQuery object, because there is element w
>> p:first-child:first-letter {
>> font: 2.5em/80% serif;
>> }
>
> Good idea. Of course, this will have no effect on IE. But I suppose
> IE users already have to suffer much worse than a plain first letter,
> so no big deal. ;-)
IE supports the :first-letter selector (since 5.5), so if
http://interface.eyecon.ro/demos/ifxscrollto.htmlIf you are looking for something that is equivilent to something in
script.aculio.us, or moo.fx, the first place you should try is Interface.http://interface.eyecon.ro/demosOn 9/17/06,
Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote:
Hi a
Hi again
Sorry to spam with questions. Its my first real trial with jquery, and
so far so good,
I like what could achieve.
Is there an equivalent to moo.fx scrollTo() ?
I looked at scroll() and scroll(fn) but it is for triggering when the
scroll occurs
not to make scroll.
thx
olivvv
__
TweenBox isn't ready, still bugs and stuff to fix. I'm building it
mostly for kevo... and its does alot of cool stuff like before/after
callbacks etc.
I did email Cody but no reply, i'm sure he's swamped.
> Will,
>
> Did you contact Cody about adding some of the features to ThickBox? I
> like
Thanks for the tips, Klaus!
On Sep 17, 2006, at 3:54 AM, Klaus Hartl wrote:
> Karl, for some nicer degradation you could use the first-letter
> pseudo-element selector:
>
> p:first-child:first-letter {
> font: 2.5em/80% serif;
> }
Good idea. Of course, this will have no effect on IE. But I
mm
in theory it is possible, I have seen a raytrace engine build with
javascript once, and if we would allply a transparent image on a small
flat square this could be rerendered each time.
so this would take some raytracing and it nees to be fast enough to do
it each time around when the camera p
This code I copy from prototype, and made some changes, it doesnot
calculate the width and height, only x and y, but it's quicker than
jUtil.getPos(). BTW, I think interface plugins is wonderful, I begin
use it to replace some functions written by me.
$.fn.coordinate = function(){
e = this[0];
Hi,
> As I work on GNU/Linux I use Konquere to see if things wil work in
> Safari. I still need a mac but don't have one.
>
> Now I notice that often things don't work under konquerer. For example
> this simple line give nothing under konquerer while in IE and Firefox it
> works fine.
>
> $("li
Jason Levine wrote:
>
> This is beta right now so please download it and let me know what you
> think about it. (The lessons that I learn with JHeartbeat may be applied
> to a plugin version of Slightly Thickerbox.)
>
Do you have a link for the download?
--
View this message in context:
htt
As I work on GNU/Linux I use Konquere to see if things wil work in
Safari. I still need a mac but don't have one.
Now I notice that often things don't work under konquerer. For example
this simple line give nothing under konquerer while in IE and Firefox it
works fine.
$("li a").click(functi
Onno Timmerman schreef:
> Onno Timmerman schreef:
>> I got in html
>>
>>
>>
>> lorum ipsum
>>
>>
> >>
>> ul p {display:none;}
>> ul ul {display:none;}
>>
>> In jquery I give:
>>
>> $("li").click(function(){$(this).find("p").show("slow");
>>
Wow lots of answers thanks ;)
Unfortunatly this.attr('name') or this.attr('id') are breaking the
code. (No js error but just nothing working anymore)
Klaus Hartl wrote:
Onno Timmerman schrieb:
Olivier Percebois-Garve schreef:
Hi
It seems that there is cases where
Seems that you are putting me on the way but
$(this.id) outputs [object Object]
Onno Timmerman wrote:
Olivier Percebois-Garve schreef:
Hi
It seems that there is cases where it is not possible to get attributes.
How to deal with this ?
$(this).val() // works
$(this).name() //no
Klaus Hartl schrieb:
> If $(...).name()/$(...).id() are not working this is bug and will be
> fixed.
I added some more tests, name() and id() both work fine.
Olivier: Please make sure you are working with an update-to-date version.
-- Jörn
___
jQuery
Onno Timmerman schrieb:
>
> Olivier Percebois-Garve schreef:
>> Hi
>>
>> It seems that there is cases where it is not possible to get attributes.
>> How to deal with this ?
>> $(this).val() // works
>> $(this).name() //not working
>> $(this).id() //not working
>
> more like $(this.id);
Unfo
Onno Timmerman schreef:
> I got in html
>
>
>
> lorum ipsum
>
>
>>
>
> ul p {display:none;}
> ul ul {display:none;}
>
> In jquery I give:
>
> $("li").click(function(){$(this).find("p").show("slow");
> $(this).next("ul").show("slow");
>
> Se
Olivier Percebois-Garve schreef:
> Hi
>
> It seems that there is cases where it is not possible to get attributes.
> How to deal with this ?
> $(this).val() // works
> $(this).name() //not working
> $(this).id() //not working
more like $(this.id);
>
> etc...
>
> Here is my code :
>
> $.fn
Hi
It seems that there is cases where it is not possible to get attributes.
How to deal with this ?
$(this).val() // works
$(this).name() //not working
$(this).id() //not working
etc...
Here is my code :
$.fn.checkform = function() {
this.bind("click", function(){
I got in html
lorum ipsum
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo con
John Resig schrieb:
> I suspect that we could probably even optomize the tests further, by
> including all the tests directly in the HTML file itself (or even
> running the tests using an XSLT file). But that's for another day -
> and this is more than fine for now.
>
For now, right. The problem
How are things going with your plugin? I want to use it in a project. As
I believe thickbox doesn't let the box grow or shrink animation to the
size of the picture? Or am I wrong about that?
___
jQuery mailing list
discuss@jquery.com
http://jquery.co
Andy Matthews schreef:
> That's not quite what he's talking about. I think he's looking for something
> that spins on the vertical axis.
>
> andy matthews
> web developer
> certified advanced coldfusion programmer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --//---
Klaus Hartl schrieb:
> Karl, for some nicer degradation you could use the first-letter
> pseudo-element selector:
>
> p:first-letter {
> font: 2.5em/80% serif;
>
You'll need that selector:
p:first-child:first-letter { ... }
-- Klaus
___
j
Karl, for some nicer degradation you could use the first-letter
pseudo-element selector:
p:first-letter {
font: 2.5em/80% serif;
}
And you should include an alt attribute in case users have images disabled:
$('')
.src('/images/alphabet/' + text[0].toLowerCase() + '.gif')
.addCla
Hi,
Woohoo.
I think that sums it up.
Gordon.
Stefan Petre wrote:
> John Resig wrote:
>>> I do not know, but is the interface author going to follow the same path
>>> as jQuery and dual license. I would make it easy for the Drupal module
>>> developers to include this into Drupal. (This would al
Hi,
Sam Collett wrote:
> On 17/09/06, Gordon Heydon <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> Drupal's E-Commerce is going to be implementing a AJAX shopping cart
>> using jquery for the next release.
>>
>> However it is a pity that the interface plugin isn't released under GPL
>> as it means that I
57 matches
Mail list logo