diff --git a/add.php b/add.php
index 03aaec650..baed26982 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 = input("'.get('select').'");
+            var select = $("#'.get('select').'");
             if (select) {
-                select.getElement().selectSetNew(response.id, response.text, response.data);
+                select.selectSetNew(response.id, response.text, response.data);
                 //select.change();
             }