Questions tagged as 'jquery'

1
answer

how to close an open div window with scrool without returning to the top scroll?

An initial apology, I am an apprentice and I have made an effect that I want to implement on my website, I have created a DIV that is opened by sliding the scroll down, the DIV presents a video, which I wish can be manually closed to the end of...
asked by 04.09.2018 / 19:50
0
answers

How to send form from a modal window, without refreshing the page that calls it

Could someone give me examples? I found some examples, among them the idea of putting the target of a form to an iframe that is hidden, I do not think it is the best solution, can someone give me an example? I read that with ajax it can be...
asked by 01.09.2018 / 01:46
0
answers

How to increment a row with Jquery and pass PHP variables,

I have the following code and when I perform the function it puts me in the form of a comment the php function $('#ticket tr:last').after("<tr><td align='right'><input type='checkbox' name='chk[]' class='borrar' onclick='elimina...
asked by 01.09.2018 / 04:52
1
answer

pass parameters of evnto onclick to javascript function

//Obtener los permisos asignados al usuario $permisosAsignados = $permisos->listarPermisosMarcados($cedula,$id_item); //mostramos los permisos si estan o no marcados while ($reg = $permisosAsignados->fetch_object()){ $html = '<li>...
asked by 27.08.2018 / 22:32
0
answers

Error sending data to MYSQL via AJAX and PHP

I am sending the data of a form, through ajax and php to my database: If I try a single variable or 2, if it works, if I add the rest, it does not work. My Ajax code is as follows: $.ajax({ type: 'POST', url: 'php/enviar_pedido...
asked by 27.08.2018 / 11:27
2
answers

Error sending data by ajax to the controller

My function called register does not send the data to the controller even though everything is fine, it only returns error, but how is it possible? if in the condition I say, if the field is empty I return error, but it is not empty I should ret...
asked by 27.08.2018 / 16:32
0
answers

Failed SQL query from AJAX?

I have this code in PHP: function getPedidos(){ $mysqli = getConn(); $query = "SELECT * FROM 'historial'"; $result = $mysqli->query($query); $indices = '<table align='center'> <tr>...
asked by 27.08.2018 / 17:35
0
answers

Take data from a dataForm sent by ajax, in a servlet

I am sending a file and a parameter through ajax through a dataForm, but I can not get that data in the servlet, nor using the request for the parameter that is a text. So I send the data through ajax var modulo = "subirArchivo"; var a...
asked by 27.08.2018 / 20:28
0
answers

I can not export html table with the SheetJs library solution?

Every time I click the button the saveAs function tells me in console that it is not defined. $(".btn-buscar").click(function (e) { e.preventDefault(); var workbook = XLSX.utils.book_new(); var worksheet = XLSX.utils.table_to_shee...
asked by 27.08.2018 / 18:38
0
answers

Bootstrap 4 navbar moves a bit when the modal opens

Hi, I'm having a problem that I do not know if it's a bootstrap bug or not, what happens is that when you open the modal, the navbar moves a bit and then when you close it, it's like an effect that moves towards the sides, this is my code: <...
asked by 27.08.2018 / 21:03