Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
$(":submit[name='update']").bind("click", function(e) {
if (document.forms[0].elements["address.name"].value == '${actionBean.address.name}' && document.forms[0].elements["address.firstName"].value == '${actionBean.address.firstName}') {
return true;
}
return window.confirm(' (${actionBean.address.firstName}' + ' ' + '${actionBean.address.name})');
});
});