I have a jsp file. I need to add confirm dialog box when user clicks on delete button
currently script has simple confirm, but i want kendo ui confirm box. I am not sure how confirm box is in jsp file.
function deleteRow(rowdata) {
if(confirm("Are you sure want to delete this record ?")){
if(finalRowval){
$.ajax({
type : 'DELETE',
url : "${pageContext.request.contextPath}/mvc/abc" + finalRowval.id + "/xyz",
dataType : 'text/html',
data : "",
async : true,
});
}
}
}