<br>I have a remove button that I'd like to pop a js confirmation dialog. <br><br>I'd like the button to degrade so that if js is disabled, the user will be taken to a separate confirmation page, ala the WAComponent confirm:<br>
<br>Here's the closest I've gotten<br><br>html submitButton<br> onClick: 'return confirm(''Are you sure you wish to remove', aFoo name,'?'')';<br> callback: [ self confirm: 'Are you sure you wish to remove', aFoo name,'?' ];<br>
with: each value<br><br>The problem with that is, the result of the js confirmation returning true is the callback, which is another confirmation.<br><br>It seems like I need a separate callback to handle the result of the js confim. Is that doable? Any other ideas?<br>
<br>I played around with the WAAsyncComponent onClickCallback: but that didn't seem to do what I expected.<br><br>Thanks,<br>Joel<br>