diff --git a/add.php b/add.php index baed26982..4dc2add2c 100755 --- a/add.php +++ b/add.php @@ -86,9 +86,9 @@ $(document).ready(function(){ id_plugin: "'.$id_plugin.'", }).then(function(response) { // Selezione automatica nuovo valore per il select - var select = $("#'.get('select').'"); + var select = input($("#'.get('select').'")); if (select) { - select.selectSetNew(response.id, response.text, response.data); + select.getElement().selectSetNew(response.id, response.text, response.data); //select.change(); }