Hello I have this line of code.
onClick=\"confirm(\'Are you sure you want to update the database to the latest version?\')\">Updat
You must use return confirm(...) instead of just confirm(...) for it to work.
return confirm(...)
confirm(...)