How to select a button whose id contains a certain string? The reason I’m asking that is asp.net webform is adding the name of the container to the element’s id.
$(document).ready(function () {
$('input[submit]:addNewRow').click(function(){
//Do someting...
});
});
The id of the button contains AddNewRow.
Thanks for helping
Use the attribute value contains selector. If the
idcontains “AddNewRow”, that would be