I can't figure out how these buttons are doing anything...
<div class="ui-dialog-buttonset"> <button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button"> <span class="ui-button-text">Cancel</span> </button> <button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button"> <span class="ui-button-text">Save</span> </button> </div> I want to see the code that they execute to cancel and save but there are no event handlers, so I can't figure out where the code lives... is there some secret place it could be hiding? I'm really confused!
onclickdoes not mean there is no event-handler, it just implies that the event-handling is using an unobtrusive technique, such asEventTarget.addEventListener().