Questions tagged as 'ajax'

2
answers

Problem with button

I have two buttons, one to activate category and another to disable, each with its layout. I need to switch between the two, when one active, it changes in the bank to activated and is displayed while the other does not appear and vice versa. Bu...
asked by 29.10.2018 / 15:00
1
answer

Json post for PHP

Hello, I need to get the data being passed via Ajax POST. But on the PHP side I can not get past parameters. My Jquery onSave: function(data, name) { pixie.http().post('images/gravar_imagem.php', [{"name": name, "data": data}])...
asked by 23.10.2018 / 22:03
1
answer

How to re-order a ViewBag, within View?

I'm trying to make a ViewBag that received a list on the controller, be reordered after changing a combobox without the page being reloaded. Passing the List to the ViewBag: public ActionResult Answers(int id) { List<...
asked by 20.12.2018 / 20:10
1
answer

How to Generate Sum in looped fields [closed]

As I am not aware of javascript I need a help how can I do, this script below perform the sum of the items in the "value" fields of each looped line In case it would have to appear in the field "Total" dynamically the sum of each line...
asked by 03.10.2018 / 04:47
1
answer

Ajax (POST) Laravel

I am having the famous error 419, which for a certain moment I managed to solve, but after restarting the server, it stopped working. Route: Route::post('ajax/Register', 'Ajax@Register'); Controller: public static function Register() {...
asked by 02.10.2018 / 22:56
1
answer

Data not being loaded in the Table

Good afternoon, I would like to know how I can make my list of records be loaded into the table at the same time that the chart is loaded by AJAX, because currently in my model it shows that it has records but they do not appear in the table,...
asked by 20.07.2018 / 20:53
4
answers

Receive and read array from Ajax

I have a request ajax so $.ajax({ type: "POST", data: "valor="+val, url: "ajax/mostra_imagens.php", success: function(e){ console.log(e); } }); On page mostra_imagens.php it creates a array w...
asked by 18.06.2018 / 12:54
2
answers

How to submit form without refresh the page?

I wanted to know how to send a form without refresh, I was able to put it to not refresh but I want a screen to appear shortly after giving the submit type "Email sent successfully".     
asked by 10.06.2018 / 14:54
1
answer

ajax requests with php [duplicate]

Good afternoon, I'm in the process of setting up a website for a job, and I came across the situation I'll need to populate dynamically using AJAX, JSON and PHP. Someone is willing to give a brief introduction. an example would be, I select the...
asked by 24.05.2018 / 21:31
1
answer

How do I put a loading responsive

My site is all done need to put a loading when the person clicks on each tab or even to enter the site I just did not find a tutorial on how to do it because it works both for cell phones and for computers.     
asked by 23.08.2018 / 21:26