We just upgraded our code to .Net 4.5 and are using VS2012 now, but some jQuery code doesn’t work anymore. For example, in a page we have a checkbox within a DataGrid.
Code to get the list of checkboxes:
$('input:checkbox[id$=MappingGrdCb]').each(function() {
//....
}
This works fine in VS2010, $('input:checkbox[id$=MappingGrdCb]') returns an array of checkboxes, but in VS2012, it’s empty.
Anybody can help me on this? thanks a lot!
Instead of
ends with selectortry thisAttribute contains selector