Questions tagged as 'jquery'

1
answer

integrate bootstrap 4 to wordpress

I am creating my first theme in wordpress, and I would like to integrate bootstrap 4 to it, however wordpress contains version 1.2 of jquery plus bootstrap 3.3.1 of jQuery as I could integrate it. if(!function_exists('mawt_scripts')) : // func...
asked by 19.12.2018 / 23:27
0
answers

How can I prevent ajaxStart from running?

I have a code that shows a load symbol when there is an ajax query, everything works well the question is that I have done a dynamic select2 that loads the data with ajax and I find it annoying that when I write in the input the symbol appears i...
asked by 20.12.2018 / 03:56
0
answers

help with a clone element of jquery

I have a problem with a jquery clone element: I clone the next element. $(document).ready(function(){ $(".alergia-boton").click(function(){ if ($("#id_alergia_paciente").val().length <= 1) { return false } else { $(...
asked by 19.12.2018 / 20:36
1
answer

Filter rows only from the body of an html table with javascript

I have a table that represents the reservations, the detail is when I look for the room (s), the filter does not respect the <th> . How would you make the filter just take the rows of body of the table in javascript ....
asked by 19.12.2018 / 05:47
1
answer

jquery function inside while loop

I'm using a library called Jquery Bar Rating for the use of rate with 5 stars, I have comments saved in a table with a rate of 1 to 5 stars each, and those comments I printed them with a while: while($row = mysqli_fetch_assoc($res)): echo...
asked by 18.12.2018 / 23:00
0
answers

Get image from a server by Ajax

I have the following code: $.ajax({ url: urls, type: "GET", beforeSend: function(req) { req.setRequestHeader("Accept", "text/plain"); } }).done(function(data, textStatus, jqXHR ) { console.log(data); }); I d...
asked by 19.12.2018 / 00:03
1
answer

Error showing Json data

Why does undefined mark me when viewing the Json data? Code Javascript : function getNota() { var id_temporada = $("#temporadaVal").val(); var jornada = $("#jornadaVal").val(); $.ajax({ type: "POST",...
asked by 21.12.2018 / 19:11
0
answers

help with dynamic inputs in laravel 5.5

$(document).ready(function(){$(".alergia-boton").click(function(){ if($("#id_alergia_paciente").val().length <= 1){ return false } else{ let valor = $("#id_alergia_paciente").val(); let html = $('#formulario_registro').html()...
asked by 26.12.2018 / 20:30
2
answers

Select all rows of datatable

I want to add a checkTodo that marks all the rows of a datatable. each row has its own checkbox that is rendered according to an attribute called 'selectable'. At the moment I managed to totalize the amount of voucher selectable and the sum of t...
asked by 17.12.2018 / 12:32
2
answers

how to create a data dictionary?

Good I have this in my js, the problem is that in my database every column is a month and I keep the city for example. city: in, column1 (January): 12 etc .. What I want first is to catch the current month to print the number you have, what o...
asked by 21.12.2018 / 16:24