Questions tagged as 'jquery'

1
answer

Replace values of a string [closed]

I have a variable var fruits = "Banana, Orange, Apple, Mango"; What I need is that every one that finds a "," skip the line with a "\ n" and good disappears the "," so it looks like this: Banana Orange Apple Mango     
asked by 20.03.2018 / 15:56
2
answers
1
answer

send an array from javascript to the laravel driver

I'm doing a query from jquery to a controller in laravel, the problem I have is that I'm sending a total of 5 variables using json , one of them is an array but the problem is that the controller does not want me recognize the variable in...
asked by 07.03.2018 / 18:53
2
answers

What is the most optimal way to recover an image from the database?

When I store the images in the database, a blob is generated that is too large, when I extract it by means of jquery it takes too long, and if there are many images, it is worse since the character string fills several screens, I usually use the...
asked by 23.03.2017 / 14:39
1
answer

Stop events onblur onclick while loading

Is there a way to stop the onblur events until the whole page loads? The events are inside a normal html form and look like this <input disabled type="text" name="art_siglas" id="art_siglas" onblur="Guardar()" placeholder="Siglas para et...
asked by 09.05.2017 / 17:19
1
answer

How to pass variables from PHP to jQuery? [closed]

                  <?php $consulta = "SELECT idPais FROM pais"; $resultado = $conexion->query($consulta)or die("Error de busqueda o conexion"); while ($paisBuscado = $resultado->fetch_assoc() ) { $pais = utf8_encode($paisBusc...
asked by 09.03.2017 / 13:36
1
answer

How do I delete an entry with jQuery?

I am creating a task app with jQuery, to practice nothing else but I have a problem when it comes to eliminating a task, here's the code I hope you can help me The jQuery code is: $(".agregarBtn").click(function(){ var texto = $(".agre...
asked by 01.09.2017 / 18:09
1
answer

Linear-gradient in html2canvas

I am using html2canvas to take a screen from a div that has a linear-gradient background. The page I am developing is interactive, so the colors of the background change, however, when taking the capture goes blank. Does anyone know how I can so...
asked by 07.12.2017 / 21:56
1
answer

Clone Div When Clicked And If It Is Already Cloned When Clicked Again Remove Clone

Good Colleagues, The Truth, I'm New In Jquery And Javascript, I'd appreciate it if you helped me with this problem. I have a series of buttons, the ones that I wish to clone and add a new div, okay, that I already did, the problem the cloned but...
asked by 18.07.2017 / 02:38
2
answers

How to fill the radio button with javascript with data from the BD? [closed]

I need that when loading the page the radio button is selected with the data of the database.     
asked by 04.12.2018 / 18:39