I have the following code:
$(":input[type='text']").wijtextbox();
What I would like is for the wijtextbox() NOT to be applied if the class of my textbox is native. Is there a way I can somehow exclude this by adding to the above selector?
Make this a wijtextbox:
<textarea class="wijmo-wijtextbox ui-widget ui-state-default ui-corner-all valid" >xx</textarea>
Don’t make this a wijtextbox:
<textarea class="native wijmo-wijtextbox ui-widget ui-state-default ui-corner-all valid" >xx</textarea>
This:
or this:
should do the trick. There’s also a shortcut for selecting an input whose type is
text:More on
not()here.EDIT: Since it appears you need to select a textarea, try the following: