SyntaxFix
Write A Post
Hire A Developer
Questions
$(document).ready(function() { var count = 0; $("#update").click(function() { count++; $("#counter").html("My current count is: "+count); } }); <div id="counter"></div>