Saturday, November 19, 2016

Pin Code Refreshing

<img src="pin.php" id = "refresh" align="absmiddle" onclick="javascript:this.src='pin.php?tm='+Math.random()">

JQuery:
$("#refresh").on("click",function(){$("#refresh").attr('src','pin.php?tm='+Math.random());});

No comments:

Post a Comment