Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#project select").change(function(){ // use one selector for all 3 selects
- $.post("someurl.php",{
- // data to send
- completed: $("select#completed").val(),
- hours: $("select#hours").val(),
- who: $("select#who").val()
- }, function(data) {
- // do callback stuff with the server response 'data' here
- });
- });
- $.post("updater.php", { completed: variableWithCompletedFromSelect } );
Add Comment
Please, Sign In to add comment