Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery uniform remove for one element

Tags:

jquery

uniform

I have query related jquery. My designer user uniform and i want to remove it form one element at run time with the help jquery. uniform : http://uniformjs.com/ like

<input type="checkbox" class="abc">

I know how to apply but don't know how to remove

apply :

jQuery(".interactionClassNow").uniform();

Remove ?

like image 755
Harman Avatar asked Apr 17 '14 06:04

Harman


2 Answers

try this

$.uniform.restore(".interactionClassNow");
like image 97
Omar Sedki Avatar answered Nov 07 '22 14:11

Omar Sedki


The correct syntax for doing this is :

jQuery(".interactionClassNow").uniform.remove();
like image 1
Jaroslaw Baranowski Avatar answered Nov 07 '22 14:11

Jaroslaw Baranowski