Hi guys,
How to give color for custom button ,pls any one help me
Thanks for advance
Hi guys,
How to give color for custom button ,pls any one help me
Thanks for advance
i tried like this but it’s not worked,
frm.custom_buttons[“Your button label”].css(“background-color”, “red”);
Example For applying Custom color on custom button
cur_frm.add_custom_button(__("Your button label")).addClass("btn-warning").css({'color':'black','font-weight': 'bold'});