onclick confirm jquery anchor tag code example Example: onclick confirm jquery anchor tag onclick="return confirm('Are you sure?')"