Skip to content

Commit 02b10a6

Browse files
mlynchjzaefferer
authored andcommitted
Fixed delegate bug for dynamic-totals demo. Fixes jquery-validation#51
1 parent be37b6a commit 02b10a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/dynamic-totals.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
$("#add").click(addRow);
4545

4646
// check keyup on quantity inputs to update totals field
47-
$("#orderform").delegate("keyup", "input.quantity", function(event) {
47+
$("#orderform").validateDelegate("input.quantity", "keyup", function(event) {
4848
var totals = 0;
4949
$("#orderitems input.quantity").each(function() {
5050
totals += +this.value;

0 commit comments

Comments
 (0)