Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- url : 'testsql.php',
- type : 'POST',
- data : { 'abv' : abreviation, 'descr' : description, 'lg': largeur, 'ht' : longueur },
- dataType : 'html',
- success : function(status, code_html){
- console.log('Status : '+status+'\n'+'code html : '+code_html+'\n');
- window.location.assign('testsql.php');
- },
- error : function(code, status, error){
- console.log('code : '+code+'\n'+'status : '+status+'\n'+'error : '+error);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement