I am using jQuery UI to create an AJAX form. My form is working correctly, however the text attribute of the buttons is not being displayed for some reason.
This is what I am using:
$( "#help_form" ).dialog({
autoOpen: false,
height: 300,
width: 350,
modal: true,
buttons: [
{
text: "Send Request",
id: "submit_help_form",
click: function() {}
}
]
});
The button is displayed at the bottom of the form, but no text is shown on it.
Can anyone see what I have done wrong?
Any advice appreciated.
Thanks.