button issue
button issue
I just changed my buttons in my application from CSS developed a few years ago that really was ugly.
I basically just change the class names and then call $(".aButton").button();, but I am having a problem with the buttons with both href and onclick attributes not running the way they did, it seesm to do the onclick function but not the href stuff.
- <a onclick="return mySubmit('Cancel',this);"
- href="javascript:closeDialog();"
- class="aButton aButtonRight ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
- name="buttonCancel"
- id="StatusCancel" role="button">
- <span class="ui-button-text">Cancel</span>
- </a>