-2
<script type="text/javascript">
         
          $('#enviar').click(function(){
            $.ajax({
          type: 'post',
          data: '',
          url:'<?php echo base_url('admin/salvar_produto'); ?>',
          success: function(retorno){
          notify.showNotification('top','right')
        
      }
       })}
</script>
Is missing the
echo<?php echo base_url('admin/salvar_produto'); ?>or was a typo in the question?– user26552
yes was missing ;) my inattention
– Rafael gustavo