I'm using this fantastic validation module:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/ and I
wonder if there is a way to force validation before form submission.
I have a button, which my users have to click first, and if the
validation goes through then I will use
joern.zaeffe...@googlemail.com
wrote:
Try this:
var form = $(#myform).
form.validate();
$(#mybutton).click(function() {
if (form.valid()) {
// do something
}
});
Jörn
On Mon, Mar 16, 2009 at 12:02 AM, yellow1912 yellow1...@gmail.com wrote:
I'm using this fantastic validation
Just an update:
Today I updated to 1.3.1, update validation,form, and livequery
plugins to the newest as well.
Now the validation works find, which is totally great. However, I
still have problem with this error:
jQuery.queue is not a function
There are many ways to re-produce this error, for
When I try to use jquery 1.3 on my test site, I get this error:
jQuery.queue is not a function
[Break on this error] var queue = jQuery.queue( this, type, data );
(firebug)
The site is using livequery, form, metadata and validate plugin in,
all upgraded for 1.3 support.
Weird.
Hi John,
Unfortunately I have it on my localhost now, will try to upload asap.
However, I found out a bunch of errors, probably because of my bad
jquery *_*
First: in the plugin I have these line of codes, working fine in 1.2.6
but in 1.3 they prevent some even binding (see point Second)
I think I found out something closer to the root cause:
$(selector + ' .step[title='+currentIndex+'] .stepContent').fadeOut
(slow);
--jQuery.queue is not a function
$(selector + ' .step[title='+currentIndex+'].stepContent').fadeOut
(slow);
-- no error, but obviously not producing the effect I
Oops, Im sorry but
$(selector + ' .step[title='+currentIndex+'] div.stepContent').fadeOut
(slow);
--jQuery.queue is not a function
On Jan 19, 12:22 pm, yellow1912 yellow1...@gmail.com wrote:
I think I found out something closer to the root cause:
$(selector + ' .step[title='+currentIndex
1.3 has some problem with selectors as far as I can tell, I would
refrain upgrading until those problems are solved, hopefully in 1.3.1
Regards
On Jan 19, 1:47 pm, beysk netdinos...@gmail.com wrote:
Now that you point that out it seems so obvious - since nothing was
happening I assumed it
Here is the test site:
http://raine.ridevelopement.com/test
Please add 1 item to cart, checkout, you will get to the checkout
page. I have just found out that I have the validator failed as well,
must be me doing some bad code
Raine
On Jan 19, 2:50 pm, Ariel Flesler afles...@gmail.com wrote:
into this.
Raine
On Jan 19, 9:42 pm, Ricardo Tomasi ricardob...@gmail.com wrote:
Checkout page gives me a validator is undefined error... I could
register a new user, but couldn't go past the shipping method page
(which also gave me the same error).
On Jan 19, 7:59 pm, yellow1912 yellow1
like that. I must be doing something wrong,
maybe I used some type of bad coding which is tolerated by 1.2.6 but
not so in 1.3.0 *_*
Raine
On Jan 19, 9:50 pm, yellow1912 yellow1...@gmail.com wrote:
Yup, exactly. If you login first, and then go back to the page, you
will also see the forms
I still desperately need help for this, since I dont have Mac to test
and debug it. If you can help please let me know, I will pay for your
time or donate the amount to jquery, whichever method you wants.
Thanks so much for your help
Regards
Raine
On Jan 13, 6:01 pm, yellow1912 yellow1
I encounter a rather weird problem where my plugin would run on all
platforms except Firefox 3 on MacOSX, and since I don't have Mac I can
not debug it.
(this plugin uses jquery 1.2.6 and jq form, jq validation and
livequery plugins.)
This is still under development I can not post the link
After I submit my form via ajax, I sometimes get back content (json
format) with some inline jscript in one of the fields (i.e:
result.jscript)
I've been trying to do something like this:
$('#output').append(result.jscript);
It doesn't seem to work, however.
(In my case, I can't avoid these
Hi all, I have a question regarding jquery object:
if I bind my plugin like this:
$('#myButton').myplugin();
And inside my plugin, I want to bind ajaxForm listener to all forms
inside 'this' current element, what is the best way to do it? I can
get the id by using $this.attr('id'), but there
this:
$this = this;
$this.livequery(function() {
$this.ajaxForm(options);
});
On Jan 6, 10:08 am, Ricardo Tomasi ricardob...@gmail.com wrote:
Not sure that this is it, but
$.fn.myplugin = function(options) {
return this.find('form').ajaxForm();
});
?
On Jan 6, 1:59 pm, yellow1912
First I have to admit I haven't got a clear understand of js object,
array and associative array yet.
I'm using jquery form to post a form, and I get back some data in json
form, which is an array containing several fields (status, content,
etc)
The 'content' is an associative array which
Something like this
var func = 'myFunc';
Can I call the function like this for example:
$.fn.myplugin.(func)();
(I'm using this in a plugin I'm working on)
Thank you very much
Thanks Mike,
I'm following this tutorial here:
http://www.learningjquery.com/2007/10/a-plugin-development-pattern
I have several public functions like this:
$.fn.response.redirect.default = function (){//something here};
$.fn.response.redirect.type1 = function (){//something here};
Hi Mike,
I can't thank you enough for taking your time to teach this newbie how
to do it right. I really appreciate your help
Sincerely
Raine
On Jan 2, 12:40 pm, Michael Geary m...@mg.to wrote:
Don't thank me, Joe, thank Brendan Eich who developed JavaScript. :-)
(But thanks for your
I have encountered a really annoying problem with ie6 and 7:
When I append an img like this
img src=relative/path /
The src is automatically changed to the http:// form
It doesnt happen on FF though. Anyone knows why this happens?
Regards
to the current page, etc.
What is it that you want to do with the path once you read it with
javascript?
JK
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of yellow1912
Sent: Monday, December 08, 2008 11:04 PM
To: jQuery (English)
Subject
I wonder if jquery supports something like this? (like php isset()
function)
I know I can certainly write a function for it, but I dont want to re-
invent the wheel if jquery already supports it
Regards
23 matches
Mail list logo