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...
[! [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...
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...
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...
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...
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...
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=...
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?
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...