Click button and it shows alert box

Click button and it shows alert box

che_jayche_jay Posts: 8Questions: 3Answers: 0

$(document).ready(function() {
$('#example').DataTable( {
"createdRow": function( row, data, dataIndex ) {
if(data[4]=="some value"){
$(row).addClass('red');
}

I wrote this function and it's working.but Now I have another
problem.I want to add button called "next action" to rows that
are fulfill below condition.
if(data[4]=="some value")
not only that,when I click this button It's must be show alert
box.How can I do this.please help me.

This discussion has been closed.