Either I'm having a really dim Friday, or something strange is going
on. I'm trying to add a method to the Validator plugin, using the
following regex:
/^[a-z0-9-.,()'%$£*\s]+$/
So I've added this into the additional methods JS file:
jQuery.validator.addMethod(lettersnumberandadvancedpunc,
Ok, it was me. Well, it was the encoding issue as discussed in the
comments on http://bassistance.de/jquery-plugins/jquery-plugin-validation/
Updating code to:
script type=text/javascript src=/js/jquery.validate-additional-
methods.js charset=ISO-8859-1/script
fixed it.
Thanks, although it doesn't appear to be working for me.
script type=text/javascript
$(document).ready(function(){
sHTML = ;
sHTML += boxModel: + $.support.boxModel
sHTML += br/cssFloat: + $.support.cssFloat
sHTML += br/hrefNormalized: +
Thank you :)
I'm trying to do a browser detection for client reasons :(
They don't want to spend the money on coding IE6 fixes in, they're
as... frustrated... with IE6 as we are, and have instructed us that
any visitor reaching the site through it should be presented with a
message of love,
No prizes for guessing it's an IE7/6 issue
I'm trying to detect IE6, with:
if (($.browser.msie == true) ($.browser.version 7)){
// fail
}
but the client has got a version of IE7 that's returning the following
UA string:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; Mozilla/4.0
My nav bar consists of a single UL containing LI elements that each
contain a single A.
Well, most of them do.
Some LI elements contain a further UL as well as the A: these
submenu UL elements follow the same pattern of containing LI
elements that each contain a single A.
So far, so simple.
If I understand you right, I think you need the groups option:
$(#myform).validate({
groups: {
username: product1 product2
}
});
AFAIK, that'll group error messages for your selected elements.
Hi,
I need to do some AJAX-based validation to check that the email
address entered isn't in the database already, but only if the I am a
new user radio button has been checked.
I know that the Validation plugin has a remote rule, and rules that
can validate one element based on the value of
I'm trying to animate a simple image swap but it's not quite working
right. Details below, here's my code thus far:
$('#zoom_control a').click(function(){
var oImg = $('.current_page').find('img');
oImg.animate({opacity: 0}, 1000, '',function(){
Hi,
Trying to use the validation plugin (http://docs.jquery.com/Plugins/
Validation) to manage the following:
input type=radio name=q8b id=q8b_1 value=1 /
input type=radio name=q8b id=q8b_2 value=2 /
input type=radio name=q8b id=q8b_3 value=3 /
input type=text name=q8c id=q8c value=
Using the Validation plugin (http://docs.jquery.com/Plugins/
Validation/)
I've got checkboxes like this:
input type=checkbox name=q4 id=q4 value=1 /
input type=checkbox name=q4 id=q4 value=2 /
input type=checkbox name=q4 id=q4 value=3 /
input type=checkbox name=q4 id=q4 value=4 /
input
I'm using Nial Doherty's coda-slider plugin (http://plugins.jquery.com/
project/Coda-Slider), and trying to tweak it.
I'm creating several instances of the slider on a page. I'd like to
replicate the function of the 'previous' and 'next' buttons, but
inside the content panels themselves.
The
12 matches
Mail list logo