What is the use or difference of combining .off with .click?
$('#link').off('click').on('click',function(){});
vs.
$('#link').on('click',function(){});
What are the advantages of combining them?
What is the use or difference of combining .off with .click?
$('#link').off('click').on('click',function(){});
vs.
$('#link').on('click',function(){});
What are the advantages of combining them?