Questions tagged as 'ajax'

1
answer

How can I select a row to add via ajax?

This is the code to select $('#example tr').on('click', function () { var dato = $(this).find('td:nth-child(4)').html(); alert(dato); }); works well when the table is loaded with hard data, for example: <table id="example> <...
asked by 01.06.2017 / 22:02
0
answers

Combo Box to paint an input

I have this code that contains two functions and both work the only thing that I want is to change that instead of being shown in a select they are shown in an input type text readonly The HTML that contains the select that formats the combo...
asked by 02.06.2017 / 10:01
0
answers

Delete record without reloading Ajax page Mysql php

The record is deleted correctly from the database, but the change is not shown on the screen, the output of my data is through a table. **PHP donde se muestran los datos ** <?php $consulta2 = "SELECT ... ?> <script...
asked by 02.06.2017 / 06:48
0
answers

Collect data and increase

I have this Jquery-Ajax feature $(document).ready(function () { $('#titulo_documento, #compania1, #acro_subcategoria, #acro_proyecto, #fecha, #idioma, #acro_documento, #proyecto, #estado, #num_documento, \n\ #version, #revision...
asked by 31.05.2017 / 21:14
0
answers

Error creating Infinite Scroll

I'm trying to create a% infinite% co, but when I run it I get a reference error in Scroll    jquery.js: 8706 GET link 404 (Not Found) the code of my GET is: <script type="text/javascript"> $(window).scroll(func...
asked by 04.06.2017 / 10:40
2
answers

I do not get the values from AJAX

I am trying to send some values from AJAX to my controller but they do not reach me. I have looked at some web pages but I have not found the solution to this problem. In the jQuery tag: function add_tipoDoc() { var idTi = document.ge...
asked by 24.05.2017 / 15:19
0
answers

Error saving image with ajax in codeigniter

Good, I'm starting to use codeigniter with the upload library, and ajax to save an image, it is saved in a table image that has 3 attributes id_image (that is autoincrementable), route, and as foreign id_person. this part being clear my problem....
asked by 23.05.2017 / 21:21
1
answer

Error in Ajax call (jQuery) with Thymeleaf

I am trying to render a select depending on the selected value in another select. <form id="myform" action="#" th:action="@{/actionRequest}" th:object="${myModel}" method="post" enctype="multipart/form-data"> <div class="col-x...
asked by 22.05.2017 / 22:13
2
answers

help with PHP + AJAX + JSON

Good! I tell you my problem. I make a request to a php file with AJAX, in this file I bring a long text from my database (mysql) and I save it in a php array, then I pass it to js with json_encode (); The problem I have is that there are t...
asked by 20.05.2017 / 02:01
1
answer

I have a problem with ajax, it does not connect to the file that I specify

I have a index.php file that identifies a variable for get and with that variable it looks for the corresponding file /index.php ? i = login The index is in the main directory and the files of the pages are in the folder page...
asked by 14.05.2017 / 21:15