Good for starters, you can clean it up a bit without using onclick ...
<a id="myAnchor">Let update</a> $(document).ready(function() { $("#myAnchor").click(function(){
or if you have a series of this, you can use <a class="myAnchor">...</a> and change the jquery selector:
$(".myAnchor").click(function(){
source share