Questions tagged as 'jquery'

2
answers

Browse a json in Javascript with jQuery

I have a json like this result= {"cambios":[{"idCard":"5ac8798039a4cff62f780f8e","idList":"5ab7c3aec0fa3a36a67b1c87"},{"idCard":"5ab7c3cc83270bcf19c2774f","idList":"5ab7c3aec0fa3a36a67b1c87"}]} I want to access idCard and idList, I am testi...
asked by 15.04.2018 / 11:27
1
answer

Timer javascript speeds up with every restart

I have this countdown code: var tiempoTotalFinal = 63; var Temporizador = tiempoTotalFinal; var TiempoSesion=setInterval(CuentaAtras, 1000); //1000 will run it every 1 second function CuentaAtras() { Temporizador=Temporizador-1;...
asked by 13.04.2018 / 16:47
1
answer

Hide and show DIVs

I am trying to do a questionnaire that by clicking on the radio button, go to the next question, but I have a detail with the counter and print question 5 after 1, I thank you very much if you can help me with this question , thank you....
asked by 19.06.2018 / 20:17
3
answers

Overwrite Object

my question is this, I have an array with an object, and I do not know how to overwrite the value of the object I mean, array = [ usuario: 21312321, constraseña: "erica" },...] What would interest me would be to edit the...
asked by 22.06.2018 / 01:20
2
answers

How can I refresh a form made with ajax so that the inputs are clean?

I have a form made with ajax using Ajax.BeginForm this I have it in a modal, the problem that I have is that when I send the form I make the modal one close with jQuery but if I open the modal the values of the inputs that I had pr...
asked by 22.06.2018 / 14:42
2
answers

Make preloader last 5sec

I would like to know how to make the following preloader last me 5sec before showing me the entire html document. .preload { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -42px 0 0 -12px;...
asked by 13.05.2018 / 02:55
3
answers

Check checkbox checked [duplicated]

Good, I have put a small questionnaire and in the end I have a checkbox to accept the subject of privacy policies. But I can not check whether they have selected it or not. I would like an alert to come out when it has NOT been selected...
asked by 21.09.2017 / 19:12
1
answer

Bootstrap - datetimepicker inline does not work

I need to visualize the calendar in inline form, like this: This is the code I have: <div style="overflow:hidden;"> <div class="form-group"> <div class="row"> <div class="col-md-8"&g...
asked by 22.03.2018 / 13:54
1
answer

delay in form with jquery

I'm making a form that gives you an error to wait 10 seconds to try again. This is the code I'm using: HTML: <form id="login-form" method="post" class="form-signin" role="form" action="/recordarcontrasena"> <ul> &...
asked by 06.04.2018 / 19:26
2
answers

Radio button the same message always comes out

Why is it always 'I am employed'? How is it done to act according to the selected radio button? $(document).ready(function() { $('.EmpCli').change(function() { var valor = $('.EmpCli').val; if (valor = 'empleado') {...
asked by 28.02.2018 / 21:46