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"));
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
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:
;
> 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.
>
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
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
6 matches
Mail list logo