I want to have different text for the submit button when editing a record.
I can do this using the code:
$.jgrid.edit.bSubmit = “Upadte”;
However this also change the button when adding a new record, how can i change for just edit?
2 Answers
You can set following grid options:
$opt["add_options"]["bSubmit"] = "Add"; $opt["edit_options"]["bSubmit"] = "Update"; // $g->set_options($opt);
Your Answer