jQuery uniform remove for one element
Asked Answered
T

3

6

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 ?

Timmi answered 17/4, 2014 at 6:57 Comment(3)
You can use .remove()Dextroglucose
how to do this jquery(".abc").removeUniform(); is it right ?Timmi
please refresh your question what uniform means add more rendered html... do you want first occurring .abc to remove ??Dextroglucose
C
5

try this

$.uniform.restore(".interactionClassNow");
Consign answered 17/4, 2014 at 7:2 Comment(1)
Hi Omar I have one anthor query in my form so many element with abc class now i am going to make clone with jquery every time new element add with abc class now i want to add uniform the last element only how can do thisTimmi
I
1

The correct syntax for doing this is :

jQuery(".interactionClassNow").uniform.remove();
Isfahan answered 25/6, 2017 at 20:43 Comment(0)
L
-2

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

Check this Demo jsFiddle

jQuery

$(".interactionClassNow").remove();
Lunneta answered 17/4, 2014 at 7:6 Comment(3)
Hi User1153551 I have one anthor query in my form so many element with abc class now i am going to make clone with jquery every time new element add with abc class now i want to add uniform the last element only how can do thisTimmi
you want tog get last class element use this $(".list:last") or $(".list:last-child")Lunneta
the qustion is how remove uniform for an element, not whole elementDovetail

© 2022 - 2024 — McMap. All rights reserved.