good I have problems to show a modal modality all this binen but it does not let me call the modal to show it
$('#modal_registrar').modal('show');// asi la estoy llamando pero me marca error
$('#modal_registrar').show(); // si lo pongo asi no marca error pero no muestra nada
my libraries are
<?php $this->load->view('est/estilos'); ?>
<link href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css" type="text/css" rel="stylesheet">
<link href="https://cdn.datatables.net/buttons/1.5.2/css/buttons.dataTables.min.css" type="text/css" rel="stylesheet">
</head>
to the bottom
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.5.2/js/dataTables.buttons.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/pdfmake.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/vfs_fonts.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.html5.min.js"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="<?=base_url()?>asse-new/js/va/val.js"></script>
<script src="http://momentjs.com/downloads/moment.min.js"></script>
</body>
</html>
in styles I have these libraries
<link rel="stylesheet" href="<?php echo base_url();?>bootstrap/css/bootstrap.min.css">
<!-- flag icons -->
<link rel="stylesheet" href="<?php echo base_url();?>img/flags/flags.css">
<!-- elusive webicons -->
<link rel="stylesheet" href="<?php echo base_url();?>css/elusive/css/elusive-webfont.css">
<!-- aditional stylesheets -->
<!-- fullcalenar -->
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/fullcalendar/fullcalendar.css">
<!-- main stylesheet -->
<link rel="stylesheet" href="<?php echo base_url();?>css/style.css">
<link rel="stylesheet" href="<?php echo base_url();?>css/formbubble.css">
<link rel="stylesheet" href="<?php echo base_url();?>css/viewmore.css">
<!-- theme -->
<link rel="stylesheet" href="<?php echo base_url();?>css/blue.css" id="theme">
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/datatables/css/bootstrap.dataTables.css">
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/datatables/extras/TableTools/media/css/TableTools.css">
<!-- jQuery UI theme -->
<!--<link rel="stylesheet" href="<?php echo base_url();?>js/lib/jqueryUI/css/Aristo/Aristo.css">-->
<!-- 2col multiselect -->
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/multi-select/css/multi-select.css">
<!-- enhanced select -->
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/select2/select2.css">
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/select2/select2-bootstrap.css">
<!-- iCheck -->
<link href="<?php echo base_url();?>js/lib/iCheck/skins/square/square.css" rel="stylesheet">
<!-- datepicker -->
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/datepicker/css/datepicker.css">
<!-- timepicker -->
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/timepicker/css/bootstrap-timepicker.css">
<!-- colorpicker -->
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/colorpicker/css/colorpicker.css">
<!-- bootstrap switch -->
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/bootstrap-switch/bootstrapSwitch.css">
<!-- responsive table -->
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/footable/css/hagal_footable.css">
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/files/css/datatables.responsive.css"/>
<link rel="stylesheet" href="<?php echo base_url();?>js/lib/magnific/magnific-popup.css">