Questions tagged as 'ajax'

0
answers

Ajax not running event succes

I received complaints from some customers that the site was not completing the request, but checking the code did not find anything too much and it works perfectly for me. The ajax code is this $.ajax({ type : 'POST',...
asked by 29.01.2018 / 13:16
0
answers

Mongo Update is returning internal server error

router.get('/addInv', function(req, res, next){ var usrInv = req.query.invusr; EventData.update({_id:"5a6e22140c87a94340ac33ca"}, {$set: { invit: usrInv } }) }); When I try to insert the array contained within the 'usr...
asked by 28.01.2018 / 20:37
0
answers

Consume Rest API in C # by Ajax in jquery

Hello I have a C # API that returns me an object in JSON Follow the code [HttpGet] public string Login(string Pass, string User) { Return ret = new Return(); try { UsuarioDA...
asked by 28.01.2018 / 21:23
1
answer

Call the controller via javascript or ajax and insert into the asp.net mvc table

How can I get an ul li item to pass its value (id) to my controller and insert it into the table? I already have to list this code snippet below already works I can add items to the list and see text and value: $("#addPeca").cli...
asked by 03.02.2018 / 19:27
1
answer

How to update a DIV with Ajax / JS? [duplicate]

I'm developing a page, however I'm completely lay in the matter of JS ... The site has the div with the ID #content, and inside it a refresh button. How can I do when someone clicks it to refresh only the div, not the entire page? I'm cu...
asked by 20.09.2016 / 12:56
1
answer

Page only brings the data the first time it is loaded

Why does the page load data only once? After loading, if I refresh the page in the browser, it no longer brings the GetValores data. I'm using Servlet and JSP. <html> <head> <title>EscalaWEB</title> <styl...
asked by 27.01.2018 / 18:02
0
answers

How to detect Ajax requests of any kind with Jequery?

Is there a way to identify if a request any Ajax request with Jquery? I've implemented a timeout in my application, to move the user off when the application goes idle. Idle time is refreshed every time I make a request to my server. My in...
asked by 25.01.2018 / 17:58
1
answer

Php Json Finds Error

I'm trying to solve a problem whenever PHP is returning the else's "wrong administrator password." But the fact is that the password is correct ... Well I've tried everything so far. <?php $email = $_POST['email']; $tempo = $_PO...
asked by 31.01.2018 / 16:51
1
answer

Three inputs within the same form. Can I do your actions without leaving the page (without refresh)?

Blz Galera. I have three buttons inside the same form (register, change and view) and would like to do the actions of the buttons without leaving the page. How can I do this? Some colleagues commented on Ajax. Is there any example? In case th...
asked by 26.01.2018 / 23:50
1
answer

Event Listenter and Ajax

Well, this is my first post. Sorry if I did not follow some publishing rule / tag. I made a form in html that sends data to a file in php. Then I put ajax not to reload the page. Until then, okay. But the html and ajax are in the same scrip a...
asked by 27.01.2018 / 13:25