Dear Abu. Is there any possibility in the box to add or modify, remove the Cancel button?
1 Answers
You can set:
$opt[“add_options“][“afterShowForm”] = ‘function (form)
{
$(“#cData”).hide();
}
// ….
$g->set_options($opt);
Same applies for edit, $opt[“edit_options“][“afterShowForm”] = “…”;
To modify dialog elements, it’s general answer to connect this callback and inspect ID of the element using browser debugger inspector and modify its attributes using jQuery.
Your Answer