I have a table which populates several rows with a button element, these rows are generated dynamically using php script:
<button class="btn btn-default btn-xs data_upload">Upload</button>
I simply want to detect a click on this button using jquery -
$(".data_upload").on("click", function() {
alert("asdf");
});