Questions tagged as 'ajax'

0
answers

yii problems with my dependent menu

I have problems to make a menu dependent, the problem I have is that it only takes the data from one menu and the other takes all the values by default. This is the function of my controller: public function actionAjaxResultados(){...
asked by 02.04.2018 / 14:24
0
answers

Ajax in cake php

I want to make a form that is constantly reviewed by a controller, but by means of an ajax, that is, my field is the user's, and I want to validate if the user already exists, but what I have said to me: Notice (8): Undefined variable: ajax [A...
asked by 02.04.2018 / 16:34
1
answer

Delete record with laravel and ajax

The Error that throws me ** *** Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException No message * ** The data if you identify them but I think the error is in the ajax ** THIS IS MY FORM {{Form::open(array( 'u...
asked by 14.12.2018 / 04:54
1
answer

Update a div ajax

I want to get to do a div recharge only when it finds a modification in the database I currently have this so, if you can help me I would appreciate it is for a shift system that I am doing: <?php require_once("../../db/db.php");...
asked by 02.05.2018 / 18:40
0
answers

Loading MySql data with php and ajax

First what I have done: On the web I upload a file.csv to the server and then upload it to a table mysql . What I need: Once the data is already in the table, process it. As the data is a lot, sometimes my idea is the following (it...
asked by 12.04.2018 / 22:46
1
answer

C # Razor - error when saving a form with radio button

I have a problem saving a form by a radio button, it always saves the value zero and must be on demand according to what the user selects: <div class="form-group"> <label for="BONUS" class="col-md-2 control-label">Bono:</lab...
asked by 29.03.2018 / 05:45
0
answers

Error inserting data in table, duplicate record

Greetings. I am new here, my problem is as follows. My script is making a duplicate insert to the bd after running for the first time. Example: First insertion: well, insert the record once. Second insertion (this is done after doing a .lo...
asked by 10.04.2018 / 17:42
1
answer

How to put an id to a tr from array?

How can I put the ids that come from the database to the tr from the controller since it is printed from there? //CONTROLADOR public function ajax_list() { $list = $this->Prorrateo_model->get_datatables();...
asked by 29.05.2018 / 17:13
0
answers

Apply AJAX to an input and table without repeating it

I have a form as follows. <form name="" method="post" action=recep.php > <label>NUMERO DE ASOCIADO</label><br> <input type="text" name="numasoc" id="numasoc" required="true" /><br> <label&...
asked by 29.03.2018 / 19:54
1
answer

Send data with Ajax and Json

I need to work with Ajax and Json. These 2 Codes below work together and they work, it returns the id and the name. <script> function enviarDatos(){ $.ajax({ data:{ id:1, nombre:"fo...
asked by 30.03.2018 / 18:05