Is there a way to disable the theming on one element in the page?
I have some Jquery UI element but I need to have one of these element not themed. How to do that?
Is there a way to disable the theming on one element in the page?
I have some Jquery UI element but I need to have one of these element not themed. How to do that?
JQuery UI is made up of some standard CSS framework classes. You can remove the UI themes from an element by turning off those classes. Check out the JQuery UI docs to see a list of the classes and decide which one it is you want to remove (using Firebug makes this pretty easy as well, you can identify which UI classes are applied). ui-widget
and ui-state-default
are likely choices.
Once you know the class, just use JQuery's removeClass()
to get it off:
$('element').removeClass('ui-widget');
AFAIK you will have to remove all the classes of the element (+ children) as there are no options to disable the class name rendering in any ui widget.