I have several text fields, and I need to select the values ββof those text fields whose values ββare not equal to their title attribute.
Problem: With my attempt, the jQuery code below simply selects the value of the first matching text field. How to get values ββof matching text fields?
JQuery code
var inputs = $(".input").filter(function() { return $(this).val() != $(this).attr('title'); }).val(); console.log(inputs);
source share