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...
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...
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 {
$(...
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 ....
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...
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...
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",...
$(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()...
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...
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...