Questions tagged as 'ajax'

1
answer

Div error with ajax

What happens is that when sending the form, if there is an error, a message is displayed in a div, this only happens the first time, then I keep pressing the submit, but I do not see the error message. ajax function: function login(){ l...
asked by 02.12.2017 / 21:08
1
answer

Ajax or json can not restart, does not show the MySQL select in the table

I get these errors does not let me see all the data in the table. but yes in JSON THIS DOES WORK SEPARATELY <?php $db_host = "localhost"; $db_user = "root"; $db_pass = ""; $db_name = "mva_colegio"; $conectahugo = new my...
asked by 28.11.2017 / 23:47
0
answers

How to send variables through ajax with laravel 5?

Hi, I am something new in all this of laravel and ajax, and as a practice I would like to know how to use ajax in laravel .... Finally, I have the following code: index.blade.php <input type="text" name="textvalue" id="...
asked by 22.11.2017 / 16:07
1
answer

connection to database with phonegap

Good morning everyone, we are studying phonegap a powerful framework cross-platform and easy to design, what I do not understand is the connection to a database through ajax or jquery . I put something of what I wear and I hope you can pl...
asked by 01.12.2017 / 07:57
1
answer

Execute form in modal window

I am adapting a method to convert a JSON file to CSV. The fact is that in an HTML / PHP page it works for me without problem, but when I put it inside a modal, the button that does the transformation from JSON to CSV is not executed. This is the...
asked by 01.12.2017 / 10:35
0
answers

Webservice collects a multidimensional json

I'm making the following ajax call to my webservice. var datos = {"user_id":"2","body_param":"body","title_param":"title","arr":{"1":1,"2":2,"3":3,"4":4}}; console.log(datos); $.ajax({ type: "GET", crossDomain: true, dataType: "jso...
asked by 23.11.2017 / 17:04
0
answers

Internal Server Error 500 in Ajax

I have a website hosted on Digital Ocean that runs on an Ubuntu under Lamp with PHP & MySQL My problem is that when I want to pass data through APIRest it gives me an internal error. This is my code function ajaxPost(url, encodedata, su...
asked by 17.11.2017 / 14:48
0
answers

Datepicker Range Javascript and Django

I try to use the DatePicker tool from link in my project Django I wish that the date entered by the user was sent with method POST in my view, the problem is that I do not know anything about javascript and this is...
asked by 28.11.2017 / 16:05
2
answers

Reload hidden div and display it UPDATED when inserting data

I have the following problem with JQUERY, AJAX. I have my web that is showing or hiding according to what you are going to use. Clicking NEWS shows us all the news in the BD Inside news there is another button called NEW NEWS where it hides the...
asked by 13.11.2017 / 19:01
1
answer

Sending emails with nodemailer, nodejs

I am trying to send emails through nodemailer and a simple application. Somehow, when trying to post to the server, it seems that a connection error leaks, but I can not know what exactly happens. This is the code; router.post ('/ sendmail', fun...
asked by 11.11.2017 / 22:37