Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <button type="submit" class="tab-btn-sumbit" id="guardar">Si</button>
- <button type="reset" class="tab-btn-cancel" id="cancelar">No</button>
- $(document).on("click","#cancelar",function(e){
- closeModal();
- });
- $(document).on("click","#guardar",function(e){//botones
- $('.cotizador_box').hide();
- $('.loader').show();
- $.ajax({
- type:"POST",
- url:"<?=URL?>velada/Guardar",
- data:$('#form-velada').serialize(),
- dataType:"json",
- success:function(data){
- closeModal();
- $('#messages').html(data.message);
- $('#resumen').html('');
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement