How do I get jquery validation to apply the "success" function to only elements that have a certain class present?
I am using the jquery validation plugin. It works well...perhaps too well. It is applying validation to every input on the page because <span class="glyphicon glyphicon-ok form_control_feedback"></span> is inserted after
every input field.
I would like it to be more selective. Perhaps only inserting the above class if another class is already present in the input.
Can anyone help me out with this?