Questions tagged as 'post'

2
answers

How to change variable value after the user submits a form?

This code will print <i class="far fa-star"></i> if rowCount == 0 and if > 0 will print <i class="fas fa-check"></i> , after the user submits the form they will not be able to see <i cl...
asked by 25.11.2018 / 19:30
1
answer

jquery how to receive data line by line in a loop

In the test.php file I have: <?php echo "<input type='button' value='Envia' class='btenvia'/><br><br>"; echo "<div id='mostradados'></div>"; ?> <script src="jquery.min.js"></script> <sc...
asked by 17.04.2018 / 15:11
1
answer

How to concatenate a javascript object to a post form?

I have an object JSON that I built at runtime, I need it to be sent to my servlet , along with the other form fields, via post, how do I do this? I researched a lot but nothing worked. function createJSON() { layoutColunas =...
asked by 08.02.2018 / 16:51
2
answers

Column 'ActiveCirculatingTotal' can not be null

I'm finding it very strange what's happening because yesterday worked perfectly! I have created the following code:      require_once 'credenciais.php'; //pega dados do formulário de ativo e passivo circulante $ac = isset($_POST['ac']) ? $...
asked by 26.10.2017 / 17:36
1
answer

How to do a POST in Javascript [duplicate]

I need to do a java script to execute a direct POST in the browser console. Based on this, I wanted to do this: Used sites: link link link Request URL:http://csgobounty.com/v1/tips/send?token=877e556c058a396c3f9d9eb12c7ab04b015e2...
asked by 03.11.2017 / 23:02
1
answer

Express return post

Good afternoon, I have a problem with the POST return in express, I wanted to make a user registry using the following code: router.post('/user', (req,res,next) =>{ var obj = {name:req.body.des_name, email:req.body.des...
asked by 11.10.2017 / 20:02
1
answer

How to log a post on a web api [closed]

I want to know what the Web Api is receiving in the Post that I'm sending.    This is the code I'm using. var httpWebRequest = (HttpWebRequest)WebRequest.Create("https://d6dc30b8-0ee0-4-231-b9ee.azurewebsites.net/");...
asked by 29.08.2017 / 09:52
1
answer

Submit to same page and return to same section

Friends, I have a one-page PHP site that at the bottom of the page has a contact form that submits to the same page. I wanted to submit the form after returning to the same section to show the message was sent. I tried to do this with...
asked by 30.04.2017 / 18:39
1
answer

ASP.NET - .aspx does not receive fields from the form post cross domain

I have a form template that I want the client to use to paste onto your page. The form points to a .aspx page on my server. In the Page_Load event in my .aspx I want to get the fields filled out of the form via post, however, the following...
asked by 29.03.2017 / 20:17