Questions tagged as 'ajax'

0
answers

Problems with json when searching data with php and ajax

Dear I have an ajax that brings me data from the database with php to a table the code is the following Ajax: $('#selplan').change(function(){ var idplan = $('#selplan').val(); var consulta = $.ajax({ type: 'Post',...
asked by 05.01.2018 / 16:42
1
answer

Error in json ajax and codeigniter using join

I have a modal window that I want to show the product information, but the table in the database has two fields that store the id instead of the name. Example the product table Code = 123456 Name = Product 1 Category = 1 - > there are anot...
asked by 05.01.2018 / 06:13
1
answer

vuejs v-for For a JSON response

I'm starting to use Vue.js, and I have the following code: <div id="app-5"> <section v-for="n in repeat"> <div class="lol">-test-</div> </section> <img v-bind:src="src" width="80px" heig...
asked by 05.01.2018 / 18:59
0
answers

AJAX POST gives error 500 in HTTPS, but not in HTTP

A month ago I changed the HTTP server to HTTPS (SSL), although I do not know if it will have to see. The case is that a small application that had programmed in very rudimentary web, but it worked well in November. Today I reopened it, and it do...
asked by 04.01.2018 / 13:07
0
answers

Ajax problem with Carousel

I have a series of Actions grouped by categories that are in a carousel. When clicking on a Category, the actions on the same carousel must be displayed by ajax. It worked perfectly before incorporating the carousel, it received the data w...
asked by 14.02.2018 / 13:23
1
answer

Validate single field in modal form ajax codeigniter

I have a form in modal to enter data, and it validates me that the fields are empty before saving, but how do I validate that one of the fields is unique? that the information can not be repeated. It is done with codeigniter using modal, the cod...
asked by 31.12.2017 / 22:02
1
answer

How to send cake php form by Ajax?

I would like to know how I can send a form via ajax to the controller of my view cabemensionar that I use cakephp: Vista <div class="usuarios form large-9 medium-8 columns content"> <?= $this->Form->create() ?> &...
asked by 12.01.2018 / 01:25
1
answer

How can I re-calculate a number in a table, if more details are added?

introducir el código aquí var SumaTotalCotizacionGenerales = function(){ //Obtengo la última fila ingresada en la tabla var cotizaciongenerales = $("#gastos_totales_generales"); var valor1 = cotizaciongenerales.find('input[type="text"]:eq(0...
asked by 29.12.2017 / 14:27
2
answers

Having a combobox showing the data of a COLUMN of a DB, how can I fill inputs with the other values?

I have a database with a table called "sites" (phpmyadmin example): I have a form where I have a select which I already have the query to the table "sites" to show only the data in the column "Site" of this same table, what I'm looking for...
asked by 27.12.2017 / 23:19
0
answers

how to pass an image of a modal by ajax with laravel?

I have a table and in each row I have a button to edit the image of the corresponding row and other data of the row, the problem is that all the data is sent to my controller but the data of the image is not It sends and I do not know what is th...
asked by 03.01.2018 / 22:05