Questions tagged as 'jquery'

1
answer

Search data in the drop-down list from a text field

How can you get a text field to search for a data that is in a drop-down list and that it automatically searches for the requested data from the text field? . I found an example in Javascript very interesting, but when I called the text fi...
asked by 09.11.2017 / 20:09
3
answers

problem to send form by ajax

[! [enter the description of the image here] [2]] [2] I am trying to send a form via ajax, to prevent the page from refreshing: function form(){ $.ajax({ type: 'POST', url: 'formulario.php', data: $('#for...
asked by 11.07.2017 / 16:05
1
answer

How to reactivate the bootstrap validation?

My query is as follows, I have a div teacher, where I have a form with several fields inside. The form has validations of Bootstrap inside: $(document).ready(function() { limpiarFormulario(frmGarantias); limpiarFormulario(frmAsignarGar...
asked by 09.03.2017 / 16:51
3
answers

Convert from String to Date jquery dd-mm-yyyy

I need to convert a date that comes as a string to date, it is already formatted from mysql to '% d-% m-% Y', but it is in the view with jquery and recognizes it as a string. I receive data converted to '% d-% m-% Y' in php codeigneiter: $t...
asked by 26.09.2017 / 14:13
2
answers

How to delete Object Property without knowing its Key. JavaScript

This time I have a question, I have this example object: "pasada" : { "09-10" : 34.11, "09-11" : 35.73, "09-12" : 34.03, "09-13" : 35.85, "09-14" : 38.75, "09-15" : 34.07, "09-16" : 32.46, "09-17" : 34.57 } W...
asked by 17.09.2018 / 15:43
1
answer

Convert an html to pdf [closed]

At the moment I develop a app web where I have to generate a pdf from the information that is in a form of Html , the question is that this form would be hidden, at the moment I searched information but php is used whi...
asked by 22.06.2017 / 01:48
1
answer

problem when sending comments are repeated

I am creating a system of comments in php and jquery everything is going well until I try to send a second comment also send me the previous one and so subsistently, hopefully and you can find my error here is my code coment.php <div id=...
asked by 08.07.2018 / 05:52
2
answers

I need to select a cell from a p: dataTable and then load the data into another page [closed]

I need to select a cell of p:dataTable and then load the data of the selected cell on another page     
asked by 09.05.2016 / 20:39
2
answers

Send multidimensional array from PHP to jQuery (ajax?)

If I have an array in php: $items = array( "nombtre" => "botella"; "precio" => "1"; "descripccion" = "Botella de cristal" ); How can I send it to jquery? to use all the index of it?     
asked by 19.01.2017 / 08:41
3
answers

Prevent the display of NaN in an input with jquery

I have an onchange function that validates a difference in dates: $('#fechaFinal').on('change',function(){ $('#ndias').val(''); var fechaInicio = new Date($('#fechaInicio').val()); var fechaFinal = new...
asked by 08.02.2017 / 18:35