Advertisement
yesamarcos

Olha como a url pode ficar mais legível !!!

Jan 3rd, 2017
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.42 KB | None | 0 0
  1. <script>
  2. jQuery(document).ready(function(){
  3.     jQuery('#setting-add-fanfic').submit(function(){
  4.         var dados = jQuery( this ).serialize();
  5.         jQuery.ajax({
  6.             type: "POST",
  7.             url: "<?php echo base_url("functions_extra/post.php?fanfic_id={$get}&id={$user_id}"); ?>",
  8.             data: dados,
  9.             success: function( data ){
  10.                 $('#alert').html('<?php echo $wo['lang']['success'];?>');
  11.             }
  12.         });
  13.         return false;
  14.     });
  15. });
  16. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement