Questions tagged as 'ajax'

1
answer

Ajax does not work on the server

I have a form in which I check by ajax if the ID and / or email already exist in the DB. In the "local server" it works correctly, but when I upload it to another external server it does not work. Somebody could help me? Thanks. my code: &...
asked by 24.09.2017 / 00:10
1
answer

I do not enter the values to the DB

I have a form in HTML but I do not enter the data in the Database that I am doing wrong. <?php session_start(); if (!isset($_SESSION['user_login_status']) AND $_SESSION['user_login_status'] != 1) { header("locati...
asked by 27.09.2017 / 22:19
0
answers

Automatic search with ajax + php + jquery

I will comment first on the idea of the project and then on what little I have achieved so far. I have an excel where I have movie names, the idea is to automatically browse the file and go looking for the covers of these films and store the nam...
asked by 03.10.2017 / 22:59
1
answer

Form with image, ajax and phpmailer

I am trying to make a request POST but all the data is sent except the image. How can I solve it? JavaScript $(function () { $("#botonEnviar").click(function () { var nombre = document.getElementById("nombre").value; var c...
asked by 17.09.2017 / 18:37
0
answers

Sometimes I do not recover the varaible of SESSION in php

I have a ticket system, when doing a registration I have to insert in 3 different tables (sometimes up to 4 tables) from a single form ... One of the data that I have to insert in the Database is a session variable and here is the problem, since...
asked by 05.09.2017 / 16:50
1
answer

Asigar Value obtained from a Database to a SELECT

Good attempt to Assign the Value obtained from a query to a Database to a select Query in Database <?php $lsq="SELECT DISTINCT opcion FROM tabla1"; $quer = mysqli_query($con, $lsq); while ($raw=mysqli_f...
asked by 20.08.2017 / 18:09
0
answers

Load data from the database with AJAX in a table in my UpdateView template

I want to load the saved data that are in the database of question options, I have in my model class Pregunta(models.Model): contenido = models.TextField(max_length=1000, blank=False, help_text="Entre la pregunta que quiere que se muestre:...
asked by 24.07.2017 / 23:52
1
answer

jquery remove in a form all disabled / readonly properties of the inputs and select boxes

I'm trying to use jquery to capture a form and remove in the form all the disabled / readonly properties that contain the inputs and select boxes, without affecting the user's view, I've tried with two versions, but I did not none works and affe...
asked by 18.08.2017 / 19:51
0
answers

Refresh DIV after sending model from Spring controller

You see, I am working with spring and thymeleaf and I am just a beginner in this subject; I have the following tree which contains some modules and beside it is a form with which you can create and edit the modules. my problem is that when I...
asked by 08.09.2017 / 17:24
1
answer

how can I validate an Input type file so that the name of the file I collect does not have special characters

Try using the html5 validation to tell it to accept only lowercase letters but it does not work. I am using the following to take the file and the following script to send it to the php where it will be processed. <input id='file-0d' class=...
asked by 03.07.2017 / 22:47