Questions tagged as 'jquery'

4
answers

Loses the css after refreshing datatable

I have a datatable in which in a column there is a select2 , this select2 I have assigned a color according to the selected value, for it to bring me the data of that column I call a function that checks according to the id o...
asked by 22.12.2017 / 13:41
2
answers

hover with jQuery when you click on div

I'm working with HTML5, CSS, Bootrap and JQuery. The problem is not to change the color to the div, what I can not do is to execute the action until you click on one of the divs. When you click on the payment button for extra hours, take the col...
asked by 09.08.2018 / 23:37
2
answers

Stop a setInterval () in JavaScript

I am developing a number increase with setInterval (), and I want the setInterval to stop when the counter reaches a certain number. var cont = 0; var rango = document.getElementById('rango'); var id = setInterval(function(){ rang...
asked by 07.10.2017 / 00:22
2
answers

Convert variable to Barcode

Good afternoon community, I have a question, it turns out that I must take from a field the respective value of what is in it. <div class="form-group"> <label for="" class="control-label">Documento:</label>...
asked by 28.08.2017 / 21:32
2
answers

When changing class with Jquery, then Jquery no longer works

Change class a div with jquery, but when I try to use jquery with the class that I changed it does not work. $('.ver_drop').click(function() { $( this ).text( "Ocultar drop" ); $( this ).toggleClass( "ocultar_drop" ); $( this )....
asked by 02.10.2017 / 17:34
1
answer

problem with extracting form data with jquery

I have this example form with jquery and javascript in which the user can add forms to add more phones if desired and delete them equally but I want to send the form when sending a message, I do not save the data on a base of data, I simply want...
asked by 30.03.2018 / 15:00
1
answer

compare two inputs in Jquery

Hello, I have been working on the password change. I need to implement that the field repita contraseña is equal to the field Contraseña . But if the user changes the field Contraseña it will appear that the password...
asked by 05.07.2017 / 15:40
2
answers

Activate HTML5 validations from Js

I have this js, and this html: $(document).on('click', '.validar', function (event) { event.preventDefault(); var cantidad = 0; var obj = { "correo": $(".txtEmail").attr("id") }; $.each(obj,...
asked by 20.06.2018 / 23:45
2
answers

How can I separate a string by characters? PHP Jquery

Good afternoon Titans of programming, I have a problem, I'm taking from the database a string which gives me the following value 1101000100000000 , I explain what this value is for, each character is a state 0 = Cerrado and 1 = A...
asked by 07.06.2018 / 20:56
1
answer

Pass the html form structure to json

I'm trying to pass a html form structure to json and of course the idea is that the html form is dynamic since every time it can be different and I need a code that passes to me json the elements of the form and its characteristics of this For e...
asked by 31.05.2017 / 09:50