Can anyone tell me what class name to specify for an html button, e.g,
<div id='dlg' class='dialog'>
<input type="text" id="client" name="client" />
<button type='button' class='WHAT_CLASS' onclick="afunction()">Cancel</button>
</div>
I want same button appearance jquery ui ‘Redmond’ style applies by default
$dlg.dialog({
autoOpen: false,
title: 'Company name',
buttons: {
'Cancel': function() {
$dlg.dialog('close');
}, ......
Thanks
There are multiple necessary classes!
You should use the jQuery UI functionality for that:
http://jqueryui.com/demos/button/
However, if you can’t do this, the classes jQuery adds are:
ui-button ui-widget ui-state-default ui-corner-all