html - Remove inline style for ajaxtoolkit Combobox -button -
i using ajaxtoolkit combobox in page... trying change width of combo-button . couldnot. because has inline style default..
i tried following code add style
//combo css
.comboclass .ajax__combobox_buttoncontainer button { border-radius: 0px; box-shadow: 0px; width :12px; height:12px; }
but border-radius , box-shadow styles applying width& height not applying ..
because combobox button got default inline styles.. cant remove line styles too..
please post me suggestions....
add javascript function search , strip attributes on document ready. jquery way is:
$(document).ready(function() { document.find(".ajax__combobox_buttoncontainer").removeclass("ajax__combobox_buttoncontainer").addclass("myawesomeclasswithcooldimensions"); });
make sure css has myawesomeclasswithcooldimensions class.
Comments
Post a Comment