Advertisement
Guest User

Untitled

a guest
May 15th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.66 KB | None | 0 0
  1.               $.ajax({
  2.                   url : 'testsql.php',
  3.                   type : 'POST',
  4.                   data : { 'abv' : abreviation, 'descr' : description, 'lg': largeur, 'ht' : longueur },
  5.                   dataType : 'html',
  6.                   success : function(status, code_html){
  7.                        console.log('Status : '+status+'\n'+'code html : '+code_html+'\n');
  8.                        window.location.assign('testsql.php');
  9.                   },
  10.                   error : function(code, status, error){
  11.                             console.log('code : '+code+'\n'+'status : '+status+'\n'+'error : '+error);
  12.                     }
  13.               });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement