Questions tagged as 'jquery'

1
answer

Declare a global variable in Jquery

How can I declare a Jquery variable globally? I have searched for a way to declare a variable globally, in which I can access the value of a <input> since the problem is in which the variable is used in at least 20 other function...
asked by 18.01.2018 / 05:51
1
answer

Doubt about passing variables from jquery to php

I'm trying to pass several variables taken from a calendar from jquery as soon as you click on a certain date in the calendar. When clicked, throw the date into an input with id="my_hidden_input" $('#datepicker').on('changeDate', function() {...
asked by 03.07.2018 / 22:01
1
answer

Get value from a hidden input

I have a span that shows values from a range noUISlider, of that span I want to take the value it throws when I move the selector and store it to use it in a mathematical operation (multiply I divide by another value) and that resu...
asked by 15.01.2018 / 16:20
1
answer

Problems with styles when repeating input number in bootstrap 4

Hello, I am having problems with an input form of numbers, it turns out that when I repeat the whole div, it only takes style to only one. (function ( $ ) { $.fn.bootstrapNumber = function( options ) { var settings = $.extend({...
asked by 14.06.2018 / 17:05
1
answer

Problem with the display

Good here I leave my next code: <!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-U...
asked by 14.01.2018 / 19:14
1
answer

Problem JQuery get input value

I have the following code: //Validar usuario existente con ajax //Pedimos el valor del campo usuario para verificar si existe y enviarlo al controlador //revise en la base de datos que esta palabra no exista var usuarioExistente = fal...
asked by 08.05.2018 / 20:40
2
answers

Get ID using jQuery

I have a form with the fields check_in and check_out . I wish that if one of the two is empty the button " Search " disappears and only appears in case the two fields are with a date. I have the necessary libraries in...
asked by 08.01.2018 / 11:59
1
answer

Get data from a table using JQuery or Javascript

I am developing a system in which I need to obtain a data (ID) of a row whose column is with the attribute hidden . Table code <table id="tbl_Datos"> <thead> <tr> <th hidden>ID</th&...
asked by 08.01.2018 / 20:17
2
answers

Access JSON response in AJAX

I try to access the values of the response I receive through AJAX but I am not capable. The JSON that receives the function in success I think is fine, but when I access its elements these have value undefined . If I throw in the...
asked by 11.12.2017 / 22:17
2
answers

dial and uncheck option dynamically

I am working with the days of the week I have 7 checkbox (workday) from Monday to Sunday and 7 in the same way from Monday to Sunday but this I occupy to know the rest days If, for example, the user's workday, Monday through Friday, the workd...
asked by 30.11.2017 / 23:20