in 1.8.2
I don't want to use the customer themed button. I need to create a few custom buttons. Actually very similar to the stackoverflow - Ask Question button. What's the best way to go about doing this and making it reusable.
I'm basically using jquery ui out of the box, but I need to add a newly styled button. Into the dialog function. (sign Up now)
Let me add some more to this.
$("#dialog-form").dialog({
autoOpen: false,
height: 530,
width: 850,
modal: true,
buttons: {
'Sign Up*': function() {
$(".ui-button").removeClass().addClass("myButton");
},
},
close: function() {
allFields.val('').removeClass('ui-state-error');
}
});