Harman
Harman

Reputation: 1753

jQuery uniform remove for one element

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 ?

Upvotes: 6

Views: 5302

Answers (3)

Jaroslaw  Baranowski
Jaroslaw Baranowski

Reputation: 11

The correct syntax for doing this is :

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

Upvotes: 1

Jaykumar Patel
Jaykumar Patel

Reputation: 27614

You can use remove() method to run time dynamically remove element

Check this Demo jsFiddle

jQuery

$(".interactionClassNow").remove();

Upvotes: -2

Omar Sedki
Omar Sedki

Reputation: 608

try this

$.uniform.restore(".interactionClassNow");

Upvotes: 5

Related Questions