<div class="modal fade modal_noticia" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> <div class="modal-content" > <!-- cerrar --> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel">Ficha Noticia</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body" id="formulario"> <form action="" method="post" enctype="multipart/form-data"> <input type="hidden" name="id_noticia" /> <div class="row"> <div class="col-md-6"> <label class="ti_label">TÃtulo</label> <input type="text" class="form-control" name="titulo" required> </div> <div class="col-md-6"> <label class="ti_label">Estado</label> <select class="form-control" name="estado"> <?php foreach($Array_Estado as $estado){ echo '<option value="'.$estado[0].'">'.$estado[1].'</option>'; } ?> </select> </div> <div class="col-md-12"> <label class="ti_label">Contenido</label> <textarea class="form-control" name="contenido" required></textarea> </div> <div class="col-md-6"> <label class="ti_label">Imagen</label> <div id="image"> <input type="file" class="form-control" name="image" required> </div> </div> <div class="col-md-12" style="margin-top:15px; text-align: right;"> <button type="submit" class="btn btn-success">Guardar</button> <button type="button" class="btn btn-danger" data-dismiss="modal" aria-label="Close">Cerrar</button> </div> </div> </form> </div> </div> </div> </div> <style> .checkbox_list{ float: right; width: 18px; height: 18px; } .checks{ width: 18px; height: 18px; } </style> <script> var api = 'https://wandtalent.com/seleccion/admin/api/'; function Competencias_Bateria(id){ jQuery.ajax({ url: api+"competencias_bateria.php", type:'post', data: {id: id}, }).done(function (resp){ $("#list_competencias").html(resp); }) .fail(function(resp) { console.log(resp); }) .always(function(resp){ } ); } </script>