I have List of Check-boxes array and i want to get specific checkbox by specific attribute.
lets i have 20 checkedboxes in an array object. and each checkbox contains attribute tradeId
<input name="chkTrades" type="checkbox" tradeId="1">
i want to get only checkbox having tradeId=1
how to get it
Array.prototype.filter(),Array.prototype.find()