Try using ajax with jquery like this
$(this).on('change', function() { var id = $(this).html(); alert(id); $.ajax({ type:'POST', //url: 'updateurl success: function(data) { //open dialog box and fill it with data } });