[jQuery] Re: validating dynamically generated data

2008-05-07 Thread jpl80
I figured it out... mostly: $(document).ready(function() { $("div.instock input.order-qty").keyup(function(){ var x = parseInt($(this).val()); var y = parseInt($(this).siblings("span.qty").attr("title"));

[jQuery] Re: validating dynamically generated data

2008-05-07 Thread jpl80
pedalpete wrote: > > > Have you checked out the validate plugin? > http://plugins.jquery.com/project/validate > > Their is a method they have where you can actually run an ajax call to > your server to check for a valid input, or you could use it with your > statically set value as you have

[jQuery] validating dynamically generated data

2008-05-06 Thread jpl80
I need to validate some dynamically generated form data to ensure clients can't order more of something than we have in stock. I can't set static comparisons. Here is my html: manual 1 90 Qty: manual 2 48 Qty:

[jQuery] Re: checkbox and toggle function

2008-01-11 Thread jpl80
; > yeah, > > I am having the same issue. > > Anyone have a solution?? > > thanks! > > On Jan 8, 12:06 pm, jpl80 <[EMAIL PROTECTED]> wrote: >> Using toggle() with a checkbox disables the checkbox's ability to check >> itself on and off. >

[jQuery] checkbox and toggle function

2008-01-08 Thread jpl80
Using toggle() with a checkbox disables the checkbox's ability to check itself on and off. http://tinyurl.com/yo9onz http://tinyurl.com/yo9onz -- View this message in context: http://www.nabble.com/checkbox-and-toggle-function-tp14695370s27240p14695370.html Sent from the jQuery General Discu

[jQuery] toggle function on checkbox

2008-01-08 Thread jpl80
I'm having a problem with toggle() and was hoping someone could help me. Using the toggle function on a checkbox seems to have disabled the checkbox's ability to check on and off. http://tinyurl.com/yo9onz http://tinyurl.com/yo9onz My code: $(document).ready(function(){ $("#precheck").togg