problem with selector using makeEditable

problem with selector using makeEditable

scpscp Posts: 1Questions: 0Answers: 0
edited March 2013 in Plug-ins
Hi!

I'm trying to edit rows with makeEditable but I have a problem with selects. When I push the submit button, the page show me an empty alert. The update works but I don't understand why show me the empty alert first.

This is the code of makeEditable:

[code]
$(document).ready(function() {
var oTable = $('#example').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": 'info.php',
"aoColumnDefs": [{
"sWidth": "10px",
"bSortable": false,
"aTargets": [0]
}].makeEditable({
sUpdateURL: 'update.php',
"aoColumns": [null, null, null, null, null, null, {
type: 'select',
loadurl: 'select_info.php',
event: 'dblclick',
onblur: 'cancel',
submit: 'Ok'
}]
});
});
[/code]

Any idea?

Thanks!
This discussion has been closed.