use expression at the selector javascript
If you’re finding by Contains then it’ll be like this $(« input[id*=’DiscountType’] »).each(function (i, el) { //It’ll be an array of elements }); If you’re finding by Starts With then it’ll be like this $(« input[id^=’DiscountType’] »).each(function (i, el) { //It’ll be an array of elements }); If you’re finding by Ends With then it’ll be like this $(« input[id$=’DiscountType’] »).each(function […]
use expression at the selector javascript Read More »