Hello I have this line of code.
onClick="confirm('Are you sure you want to update the database
to the latest version?')"><li class="navb">Update Version
But the problem is even if the user clicks cancel or no. It will still perform the function. Would appreciate any help on what I'm doing wrong. Thanks