Wednesday, March 10, 2010

run function at ready and keyup event

Programmer Question

Is there another in jquery to run a function at page load and at a keyup event instead of the way I'm doing it?



$(function() {
totalQty();
$("#main input").keyup(function() {
totalQty();
});
});



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails