JQuery uniform deletes for single element

I have a jquery related to the query. My designer uniform and I want to remove it from one element at runtime using jquery. uniform: http://uniformjs.com/ like

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

I know how to apply, but I don’t know how to remove

apply:

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

Delete?

+4
source share
3 answers

try it

$.uniform.restore(".interactionClassNow");
+4
source

The correct syntax for this is:

jQuery(".interactionClassNow").uniform.remove();
+1
source

You can use the remove () method to dynamically remove an element

Mark it Demo jsFiddle

JQuery

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

Source: https://habr.com/ru/post/1536903/


All Articles