Questions tagged as 'ajax'

0
answers

Integrate js in laravel

I have a table with data and I want to make crud from it to the DB using a modal. I tried to do it through VUE and it does not do anything, so I wrote js code, directly in a file and I make the call but nothing happens either. blade @extends (...
asked by 27.04.2018 / 16:53
1
answer

I can not call a controller by AJAX in codeIgniter

I'm moving my project to production, I was in a develop environment and everything worked correctly (localhost). When I migrate to production the calls by AJAX do not find the route I need. (Error 404) EDITO The variable 'bu' already...
asked by 30.04.2018 / 23:01
0
answers

How to bring various data according to your id in a modal

I have a modal that brings me the data of two tables according to their id, the problem is that I do not know how to make a for to print if there are more than a data according to the id, so far only brings me one. code ... PHP connection...
asked by 25.04.2018 / 14:29
0
answers

graph with chartjs and filter

You can graph with a filter, but with two no, please help. index.php <body> <div class="caja"> <select onChange="mostrarResultados();" id="year"> <!--<select onChange="mostrarResultados(th...
asked by 28.04.2018 / 01:03
0
answers

Load database records from a Select with Ajax, Laravel

I am making a small form where I request that you select a user's name by means of a Select: <select class="form-control dynamic" id="tipopersona" name="tipopersona" data-dependent="empresa"> <option value="" selected="true" disabl...
asked by 30.04.2018 / 04:08
0
answers

Create 2 autocomplete

I have a problem, I want to create two independent autocomplete one for a patient input and another for officials. The first works without problems, but when copying the second, changing the values are not autocomplete. Any help is appreciate...
asked by 22.04.2018 / 06:36
0
answers

cancaten two datetime variables in a URL with ajax?

I want to concatenate two datetime variables in a URL with ajax and I do not know how to structure the url, if someone can help me please leave a portion of the code I'm using ... <script> function cargarData() { var dato...
asked by 22.04.2018 / 05:00
0
answers

Save data in .xls file with ajax, javascript and PHPExcel

I am practicing with ajax and javascript, and the following problem has come up. I need to send by POST the values of 2 text input and 1 drop list (select), and save that data in an excel file that I created on the server. The .php file uses the...
asked by 20.04.2018 / 01:59
2
answers

Use validation html5 and send form by ajax

I'm trying to send a form that is inside a modal using ajax and use the validations of html5, but when doing this and clicking on the send button, it redirects me to the page where the form data was sent. <div class="modal fade" id="modalNu...
asked by 20.04.2018 / 03:48
0
answers

problem with ajax in chrome browser

I describe my problem. I'm doing simple example with ajax. I have on the one hand the html with a button where when I click I should show a message "this is a message using ajax" (which is in a txt). First I was given an error of type XMLHttp...
asked by 20.04.2018 / 12:12