Questions tagged as 'ajax'

2
answers

upload a file with ajax in mvc

Very good everyone, I wanted to know if they could help me with a problem, I'm trying to upload a file from Ajax to send to a controller. The error I have is that it does not let me load large files in Ajax, it sends me to the Ajax error. The pr...
asked by 03.07.2017 / 17:54
1
answer

Print PHP variables in different places in html

I'm validating an html form with php and ajax. When there is an error, such as blank spaces, ajax prints the value of the variables that show those error messages. The problem is that currently all the variables are printed in a single string...
asked by 24.07.2017 / 18:43
1
answer

update select field using ajax

I'm starting to use codeigniter, javascript with the jquery library and I have the following problem, I have a form and in the select field where I load the cities I send the data from my controller in json, from the sgt form. function L...
asked by 12.05.2017 / 21:16
1
answer

How to make a tour of N records in Javascript

I have this code that verifies me if the id number entered in a form exists in the registry: callAjax("http://page.app/serial?" + Date["now"](), function (a) { console["log"]("resultcheck", a); try { a = JSON["parse"](a) } catch (e) {...
asked by 21.05.2017 / 21:25
2
answers

Compatibility with Safari on Ipad and Iphone

Good afternoon, I'm making a form that sends an email and stores the data in a database. It runs correctly in Chrome, Firefox, Microsoft Edge and Safari (but the latter only in the desktop version, the insertion in the database does not occur wh...
asked by 08.05.2017 / 17:30
2
answers

Send Parameters by URL

Code: I have 2 variables <script type="text/javascript" src="code.jquery.com/jquery-3.2.1.min.js"></script> <script> var var1 = $("#var1").val(); var var2 = $("#var2").val(); $.ajax({ url:'recibo.php', data:{var1:var...
asked by 27.07.2017 / 20:15
1
answer

Save image in a server folder and save the path in MySQL with PHP and AJAX

I try to save an image in a server folder and then save the path in my DB to later show it in a html table. I'm working with MySQL , PHP and AJAX . I have seen several ways to do it on the web but I have not b...
asked by 26.07.2017 / 04:48
2
answers

Edit rows of a table with jquery

I'm starting to work with JQUERY in my project in which I generate a table from a function with AJAX, for each record besides the data, I generate a column with a button to edit, the problem is that I need to press the edit button; on the same v...
asked by 07.09.2017 / 21:51
1
answer

submitHandler Uncaught SyntaxError: Unexpected token function

I am modifying my ajax to use validations from Jquery Validate, I am using this structure and I find a syntax error that I can not find. function AgregarCliente(){ // validate and process form here $('#form_cliente').validate({...
asked by 10.04.2017 / 18:58
1
answer

Get value in POST variable of a Modal window

How about, asking for your help one more time. I'm making a table where I show clients and each client has a button where they show their personal data, I'm doing it when I click on the button to open a modal window and show that information I d...
asked by 11.04.2017 / 19:17