Aggiornamento dinamico delle quantità per sede

This commit is contained in:
Beppe 2021-10-06 12:03:31 +02:00
parent 5999abf86e
commit cf44edceee
1 changed files with 19 additions and 0 deletions

View File

@ -327,3 +327,22 @@ echo '
</div>
</div>
</div>';
echo '
<script>
$("#idsede_partenza").change(function(){
updateSelectOption("idsede_partenza", $(this).val());
session_set("superselect,idsede_partenza", $(this).val(), 0);
$("#idarticolo").selectReset();
});
$("#idsede_destinazione").change(function(){
updateSelectOption("idsede_destinazione", $(this).val());
session_set("superselect,idsede_destinazione", $(this).val(), 0);
$("#idarticolo").selectReset();
});
</script>';