On Mar 16, 12:26 pm, Stephen Sadowski wrote:
> How about
> $('#form input,select,radio').change(function() { /* check to see if
> necessary fields are filled out, if so enable submit */}
Hi Stephen, thanks for your suggestion.
The problem with this approach is two-fold:
1) This requires u
On Mar 17, 4:53 am, RobG wrote:
> It is much more user friendly to let the user complete the form and
> submit it. Run validation onsubmit (or onblur of individual fields if
> you like) and cancel submit if they don't get it right.
>
> Do not lock users into getting a field valid before letting
On Mar 16, 7:39 pm, Mac wrote:
> The validate plugin has a success option that enables customization of
> the valid fields on the form
> It takes a string or a function. In the validate plugin documentation
> the example is used to add a class to the label, but since it's a
> function, you could
A variant of this question pops up on occasion, but none of the
answers I've seen thus far suit my use case. The solution usually
involves the recommendation to do something like this:
$(...).validate({
...,
submitHandler: function() {
// send AJAX request for calcu
I think $(window.location.hash) is what you're after here.
(https://developer.mozilla.org/en/DOM/window.location)
-dan
On Feb 24, 8:11 am, brian wrote:
> Doesn't this work?
>
> $('#' + location.target).css('background',
> 'url(fade-yellow.gif)').css('font-weight', 'bold');
>
> On Tue, Feb 24,
Looks like I forgot to add the "[validate]" prefix to my subject. My
apologies.
Jörn, if you're out there, I could really use some help with my
original post here. :-)
-dan
I'm looking to get a copy of the latest stable jquery UI *as discrete
files* but it seems that all that is available now is the
customizeable download form at http://jqueryui.com/download. Is there
any way to do this? If there isn't, could the Powers That Be make it
easy to get this? I'm trying to
Another brute force approach I've tried follows:
var checkForm = function() {
if ( validator.checkForm() ) {
// disable button
} else {
// enable button
}
return true;
};
$('#myForm').keyup(che
I'm terribly sorry to post this question yet again, as it seems to
come up quite frequently, but the answers I've seen have all been
unsatisfactory to suit my use case. The solution usually involves the
recommendation to do something like this:
$(...).validate({
...,
submitHan
On Sep 20, 5:33 am, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> None of that is "regis-authored". The plugin, as released on
> plugins.jquery.com provides similar features but a different API. The
> in SVN was written by me, while autocomplete leverages only the
> abort-option. So as long as yo
I'm a bit confused. In the autocomplete plugin source I see these
lines:
$.ajax({
// try to leverage ajaxQueue plugin to abort
previous requests
mode: "abort",
The ajaxqueue plugin that Jorn links to here fr
11 matches
Mail list logo