|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Member
Iscritto dal: Sep 2010
Messaggi: 86
|
[JQUERY UI] Selectable e php
salve,
ho quanto segue Codice:
<script> $(function() { $( "#selectable" ).selectable({ stop: function() { var result = $( "#select-result" ).empty(); $( ".ui-selected", this ).each(function() { var index = $( "#selectable li" ).index( this ); result.append( " #" + ( index + 1 ) ); }); } }); }); </script> Codice HTML:
<span id="select-result"></span>. Codice HTML:
<form id="foo"> <input type="submit" value="Send" /> </form> <script> /* attach a submit handler to the form */ $("#foo").submit(function(event){ $.post("test.php", { dati:result} ); }); }); </script> ![]() questa è la pagina: http://gabriele97.altervista.org/home/gllr/batch.php per accede bisogna registrarsi |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 07:40.