typeobjectfile.js 465 B

123456789101112131415161718192021
  1. $(document).ready(function() {
  2. $('input:radio').change(function(){
  3. var format = $("form input[type='radio']:checked").val();
  4. var machine = $("#machine").val();
  5. $.ajax({
  6. type: 'POST',
  7. url: 'typeobjectfile.php',
  8. data: {format: format,machine:machine},
  9. success: function (msg) {
  10. $('#messageformat').html(msg);
  11. }
  12. });
  13. });
  14. });