Jquery – How to get checkbox which starts with specific id

jquery

I have multiple checkboxes but I want to get all the checkboxs that start with id 'isActive_' .

Best Answer

Below selector will return all checkboxes with id start with isActive

$("[id^=isActive][type=checkbox]")

jsfiddler