Questions tagged as 'jquery'

2
answers

Prevent a select from opening while being readonly

Greetings, I have a select which is disabled with the attribute readonly , what I want is to prevent it from opening while it is with readonly , this achievement in this code if ($(this).is('[readonly]')) { $(...
asked by 20.11.2017 / 21:24
2
answers

Why are not the fields validated? JQuery Validation

I am using jQUERY Validation in one of my entry forms, when going from one field to another, the length of the fields is validated. characters correctly, however when you press the button, the form is not validated, even if the fields are blan...
asked by 05.01.2018 / 14:29
1
answer

Can not compare the answer AJAX jquery PHP

I hope you can help me. I am working on a web project in php and ajax of JQUERY the problem I have is in the following code: $.ajax({ url: ruta, type: 'POST', data: img, contentType: false, processData:...
asked by 02.01.2018 / 21:47
1
answer

You do not show me the table correctly when creating it with $ .each

I have the following table generated with Datatables: Now, inside the Prize column, I want to create a common table (without datatables), the way I do it is by calling a function called insertTablePositionDraw; "columns": [...
asked by 05.11.2017 / 04:15
1
answer

ckick event with only ID in the DOM

Dear, I want to comment that I have a list of html elements generated by a loop (while) from PHP (all have the same ID and CLASS). The problem I have is that I want to assign a click event from jquery to those elements. Through the ID, it clearl...
asked by 28.10.2017 / 09:58
2
answers

If a result is found How can I block the form?

I am doing the validations for the fields of my form, and one of these, is that if the value written in a field, in this case rut_usu is in the database, it is blocked the form, and self-approach the input again to modify its value. I'm doing...
asked by 13.11.2017 / 14:49
1
answer

Clone dependent selects

I have a code in which I clone the first row of a table, I have two select one dependent on the other, that is, depending on what I select in the first select ( TIPO_ACTIVIDAD ), I will list some options in the second ( SU...
asked by 06.10.2017 / 18:31
1
answer

Get the file of an input type file

Hi, I want to get the file from an input file. I do not want his name, nor his properties if not the file as such, and then upload it to a repository on my server. But I think I'm doing something wrong with my Js . I would be infinitely grate...
asked by 24.10.2017 / 17:27
1
answer

Graph in Highcfarts with 2 Axes

I want to be able to graph two or more categories (series) in a single graph with very different magnitudes, for this I know that 2 Y axes are required, for example that in the left part there is a scale of up to 100 and in the right part a scal...
asked by 24.10.2017 / 15:17
1
answer

How can I change values using JQuery?

I need to change some values in a pre-set options box using JQuery , an example of code : <div id="div-archive-max-size"> Max size for archive : <select name="archive-max-size"> <option value="10485760">10240 Mo&l...
asked by 12.10.2017 / 20:41