Questions tagged as 'jquery'

2
answers

PHP doubt how to generate a counter in the name of a radio button

I have a panel survey manager where I add, edit and delete dimensions and questions of the survey, through this the survey that contains 4 dimensions, in a total of 21 questions and with a likert scale, is applied. My problem is based on plac...
asked by 07.09.2017 / 20:21
1
answer

Listed in a table from a json

The idea is to press the button to show me the list of countries within a table like this image: As it is the code when pressing the button it shows me everything in a single row but I have not been able to make the result show it to me...
asked by 18.09.2017 / 14:16
1
answer

Daterangepicker disable the second calendar and use it as a datepicker

I have this example $('#datepicker').daterangepicker({ timePicker: true, startDate: new Date(), endDate: new Date(), locale: { format: 'MM/DD/YYYY HH:mm' } }, function(start, end, label)...
asked by 18.09.2017 / 17:25
1
answer

run an event if it passes x seconds running?

This is my code that makes a call Ajax: $(".card").hover(function (event) { console.log(event) if (Math.round(event.timeStamp) >= 4000) { let team_id = parseInt($(this).find("span:first-child").html()); var carta = t...
asked by 13.09.2017 / 15:27
1
answer

Delete records that I have in the bbdd

function cargaPagina(pagina) { var desde = pagina * itemsPorPagina; $.ajax({ data:{"param1":"dame","limit":itemsPorPagina,"offset":desde}, type:"GET", dataType:"json", url:"Conexion_Contacto.php"...
asked by 13.09.2017 / 02:50
1
answer

How to separate the error message from the Float Label

I have a form where you can enter data, validation of required fields, When I select the TextBox to insert text, the PlaceHolder property is placed as the TextBox title (FloatLabel), but those textBox validate that you have to enter data, so who...
asked by 19.09.2017 / 16:33
2
answers

Receive 2 or more data by AJAX with SELECT

What I want is to be able to select the two options of the combo ( MES and ANO ) and that by means of the function onChange show me the data of the graph, I clarify that with a single data (MES) It shows me the results, but I...
asked by 19.09.2017 / 22:01
1
answer

How to play a sound in javascript?

This way. $( document ).ready(function() { var snd = new Audio("alarm.wav"); snd.play(); }); And he throws me the following error: Uncaught (in promise) DOMException: Failed to load because no supported source was found...
asked by 12.09.2017 / 03:48
2
answers

problem with push.js on web

Hello friends, well I tell you that I'm implementing the notifications function from the library of link and I have this code that I'll leave below and I'm supposed to take it out of the page to test it on my localhost but it does not work and...
asked by 15.09.2017 / 22:59
2
answers

Error adding values of a Foreach in MVC3 view C #

Currently I have an error adding some values of a foreach, the view is of extension .cshtml razor in C #, the code is as follows: <div class="panel panel-primary"> <!-- Default panel contents --> <d...
asked by 17.09.2017 / 21:56