Quantcast
Viewing all articles
Browse latest Browse all 82136

problem with selector using makeEditable

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:

$(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'
         }]
     });
});

Any idea?

Thanks!

Viewing all articles
Browse latest Browse all 82136

Trending Articles