I\'m currently using jquery to trap the submission of a form and show users a dialog for confirmation. If user clicks yes, then form should submit. If user clicks no, then c
I would make something either a namespaced global, or a value from some hidden input like so:
something
var something = nameSpaced.something || $('#hiddenInput').val(); //your choice if (something) { ... } ...
Your logic should work normally then.