[jQuery] Re: How to remove error messages from Validation Plugin

2009-05-12 Thread Chuck Cheeze
Here is an interesting way to do it. In my case, I was using a main error div at the top of the page, so I didn't need the individual label.error elements inline. They kept showing up no matter what I did until I added this to my validation: errorElement: "em" This changes the element that the

[jQuery] Spammer bypassing JQ Validate to register?

2008-12-21 Thread Chuck Cheeze
I have a site built in ExpressionEngine. I am using JQ Validate to check the form fields before submission. There are 3 fields in particular that are interesting to me as they are required by EE and they are on the list of fields required by JQ Validate. First Name Last Name Invitation Code (pr

[jQuery] Re: validate : help with required code

2008-11-07 Thread Chuck Cheeze
you need a custom required-method. Your check makes the > field required, but its still valid to the required method (it has a > value). > > Jörn > > On Thu, Nov 6, 2008 at 6:45 PM, Chuck Cheeze <[EMAIL PROTECTED]> wrote: > > > I have a form field that by default

[jQuery] validate : help with required code

2008-11-06 Thread Chuck Cheeze
I have a form field that by default has the value "First". When the user clicks into the field it clears that value, and if they type nothing, when they blur the field it replaces "First". You've all seen this. I want the validate plugin to say this field is required if the value onsubmit is "Fi

[jQuery] [validate] Help with required code

2008-11-06 Thread Chuck Cheeze
I have a form field that by default has the value "First". When the user clicks into the field it clears that value, and if they type nothing, when they blur the field it replaces "First". You've all seen this. I want the validate plugin to say this field is required if the value onsubmit is "F

[jQuery] Help writing function for sending a serialized post for updating a UL order

2008-10-08 Thread Chuck Cheeze
I have a UL: One Two Three I have a function: $(document).ready(function() { //sortables $("#child_list").sortable({ opacity: 0.7, revert: true, scroll: true, handle: $(".handle"), change: function(sorted){

[jQuery] IE Issues with addClass/removeClass

2008-09-29 Thread Chuck Cheeze
www.webinception.com On the homepage of my site I use jQuery to dynamically remove a class and add a class to the 3rd div box under Recent Projects. What this does is allow the floated boxes to all line up on a single row by removing the default class for this box and add in an identical class t

[jQuery] Re: Help with selecting great grandchildren

2008-05-02 Thread Chuck Cheeze
you could use > > $(this).parent().find(".line-item") > > which searches for any .line-items under the parent. > > Either one should work, so pick your favorite :) > > - Lindsay > > On May 2, 12:38 pm, Chuck Cheeze <[EMAIL PROTECTED]> wrote: > > &

[jQuery] Help with selecting great grandchildren

2008-05-02 Thread Chuck Cheeze
Below is my html/EE code: {lang_showmoreinfo} {lang_standardconfigurations} {related_entries id="cf_products_parts"} {cf_parts_partnumber}

[jQuery] Re: Having trouble with += and toFixed for some reason

2008-04-05 Thread Chuck Cheeze
Thanks alot - i've never been good with javascript... worked great. On Apr 4, 3:01 pm, Wizzud <[EMAIL PROTECTED]> wrote: > Initialise as numbers instead of strings?... > > var bagqty = 0; > var bagtotal = 0; > > On Apr 4, 9:35 pm, Chuck Cheeze <[EMAIL PROTECTE

[jQuery] Having trouble with += and toFixed for some reason

2008-04-04 Thread Chuck Cheeze
Here is my code: //on page load $(document).ready(function() { //add up the cart totals and display on the page //setup default values var bagqty = '';