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',...
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...
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...
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...
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...
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...
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...
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...
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...
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...