Questions tagged as 'ajax'

2
answers

How to save data from a form automatically?

Hello, good evening, I need your help, I want to automatically save what is typed in a text area in my mysql database, I've heard that it has to do with Ajax, I tried with this code I have there, but is not working, data is not being saved....
asked by 18.03.2017 / 01:52
2
answers

How to pass the contents of a .txt file to a vector in JS? [closed]

I'm having this problem, I'd like to know what you suggest me to search for to solve it. I tried to use the .split, FileReader. It can be in Js, Jquery or Ajax. Any suggestions are welcome. I researched the subject but found nothing concrete abo...
asked by 08.02.2017 / 14:03
1
answer

Ajax canceling onblur and onfocus events

I'm getting a call to an ajax (Bootstrap 3 + Html + PHP), what happens is that by putting the $ .ajax function, simply the events do not occur, if I put an alert there events happen normally: Has anyone ever gone through this? is it some inco...
asked by 13.01.2017 / 00:36
1
answer

MVC 5 Ajax.ActionLink returns result, but does not render in DOM

Gentlemen, I'm having trouble displaying a list of results in my view. The idea is, when I click on a value from a dropdown, I make an asynchronous query to populate the next dropdown. I would refer to the controller by the Ajax.ActionLink me...
asked by 07.01.2017 / 18:56
1
answer

show exception error on callback AJAX

I have this ajax call: $.ajax({ method: "GET", url: "/Shipper/getFullAddress", data: { postalCode: value }, dataType: 'json', success: function(data) { $('#AddressStreet').val(data.AddressStreet);...
asked by 09.03.2017 / 15:21
1
answer

Use fadeOut ('slow') in Array Ajax containing several id

Hello, I have a function in ajax, in which I do a multi-line removal in an html table. The function collects several id that will be deleted, I would like to make a fadeOut('slow') when the function is executed. Part of th...
asked by 10.03.2017 / 17:12
1
answer

How to select multiple checkboxes from Array?

In my HTML it has the following line: <label class="turnoCurso pretoClaro" id="3"> Vespertino, Noturno </label> I need to transform the shifts that are brought from the database into an array and for this I use the following co...
asked by 11.03.2017 / 02:56
1
answer

Ajax Request for Controller Spring

I'm developing a system with Spring (Spring Boot) and front-end backend with HTML, CSS (BootStrap) and JavaScript (JQuery). I'm having trouble building an ajax request. Follow the Controller Spring code: @RequestMapping(value = "/vis...
asked by 07.12.2016 / 12:40
1
answer

Upload PHP script without refresh

I have a problem here that I think might be easy to solve, but I'm having trouble. I'm having trouble controlling access to a site that is paid for okay, so the user signs up and has access to the site, OK. The problem is that it can pass...
asked by 20.12.2016 / 16:33
1
answer

Populating Chart.js with AJAX request data

Hello, First I'll give you a brief introduction to how my system works so you understand exactly what my difficulty is. Maybe it gets a little big, I'm sorry. Within my system, when the user logs in, a query is made to my database throug...
asked by 20.12.2016 / 19:55