How to give css class to the OK button of dialog in JQuery? -


I am new to jazzery I have a code for communication

  $ (this .choosePadsContainer) .dialog ({title: 'select pad locations', auto-open: wrong, model: true, button: {"OK": function () {// Remove all checked pad locations. Var checkpad ; Checked Straps = New Array (); $ (SelfPod LessonForActivity + "Input: Checked"). Each (function (index, value) {checkedPads.push ($ (value) .val ());} ); // Selected pad text set Renkcynit Pedtekst Set (Self. Selected Peedselbiaiaf format $ (Self Haidekt Aktivitiarekod) Kvl (), Cheked straps); $ (this) Kdiaieloji ( "off");}}});   

I want to give the CSS class on the OK button. How will this be done?

AFAIK This is not directly supported, but it should do something:

< Code> $ (".ui-dialog-buttonset .ui-button", this.choosePadsContainer) .addClass ("foo");

Comments