I used to have a button like this:
<input type="button" value="Save" onclick="SaveReleaseStage(this, 'Reassigned', 'ReleaseStage/ReassignProcess');" />
where the "this" being passed was the button. Everything worked great.
When I changed it to this:
<input type="button" value="Save" onclick="ShowConfirmation('Confirm', 'Some message...', function () { SaveReleaseStage(this, 'Reassigned', 'ReleaseStage/ReassignProcess'); });" />
the "this" is now the Window object and not the button.
Is there a way to pass in the button to the callback without resorting to adding an ID and using getElementById or jQuery?