Saturday, 5 March 2016

Difference between on('keyup' ) and keyup

Problem :    $( "#find" ).keyup(function(){

Script is not working

Solved : 
Find
    $( "#find" ).keyup(function(){
Replace with below

 $( "#finds" ).on('keyup', function(){

always prefer .on .As I suggest.'

No comments:

Post a Comment