1

I am using a jQuery validator, and I want to use the ignore: ':hidden:not but I want to apply this too all controls which has an ID that contrains "_selecting",

this is what I have so far but not working:

sb.AppendLine(@" ignore: ':hidden:not($(""[id*=_selecting]"")',");

1 Answer 1

1

I solved this by setting the class for the controls as class="ignore" and then ignoring them like this :

sb.AppendLine(@" ignore: ':hidden:not("".ignore"")',");
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.