Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- $('.sub_menu').click(function()
- {
- $('#centro_painel').load('paginas/'+this.id+'.php');
- },
- $('#cadastrar_cardapio').submit(function(){
- $.ajax({
- type: 'POST',
- url: $('#cadastrar_cardapio').attr('action'),
- data: $('#cadastrar_cardapio').serialize(), // I WANT TO ADD EXTRA DATA + SERIALIZE DATA
- success: function(data){
- $('.destino').html(data);
- }
- });
- return false;
- });
- );
- });
Add Comment
Please, Sign In to add comment