Difference between .on('click') and .off('click').on('click')

Viewed 30605

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?

3 Answers
Related