We have one function called .any
in Prototype. I want the same like in Jquery.
My Prototype code is:
if (item_name == '' || $R(1,ind).any(function(i){return($F("bill_details_"+i+"_narration") == item_name)})) {
alert("This item already added.");
}
I want to perform the Equivalent function using Jquery.
Please help me to achieve the desired output. Thanks in Advance..