Questions tagged as 'ajax'

1
answer

Zero Specific field in the Form

As I do not have much knowledge in javascript I ask for help from you ... In this code, I need to reset a specific field that is the People field by the last field Select This form is a calculator, you would like it if you clicked on the la...
asked by 28.12.2017 / 15:52
1
answer

How to do otherwise?

I'm getting this error when I try to load data into the page via Ajax. Is there another way to send Json objects from the servlet to the JSP without using document.write ? error: "A parser-blockingis invoked via document.write."...
asked by 27.01.2018 / 22:33
1
answer

Newsletter with refresh ajax

I'm trying to send this form via ajax and I'm not getting it, is something wrong? I'm banging my head on it, you love it for four hours without success. Note: I'm developing via wordpress and I'm using a plugin called Newsletter to store the...
asked by 27.01.2018 / 17:44
1
answer

Help with AJAX request

I have this function that searches the database for the quantity of products in stock. public function contarProduto() { try { $pdo = Conexao::getInstance(); $sql = "select id_produto as produto, sum(quantidade) as quantida...
asked by 02.01.2018 / 02:41
1
answer

Can you ignore a page in the apache log?

I'm developing a page which will permanently query via Ajax, it happens that the Apache Access Log will fill up very quickly and this brings me a server space problem, I was wondering how to handle this, one solution would be to ignore only the...
asked by 11.01.2018 / 12:41
1
answer

Display Dialog (Materialize) with ajax without clicking the button

Well, I'm setting up a ticketing system and decided to switch the closed ticket message from a alert to a dialog, it would be toast of materialize.com. But I am not able to make it return already executed, without having to click the bu...
asked by 21.12.2017 / 06:02
1
answer

How to load data from an XML file into an HTML input field?

I'm trying to load an XML upload by saving on an object and showing it on the screen. I was able to do showing in a Div But I'm not able to show in Inputs. Follow the process and the code: I choose the File and click Upload Theresul...
asked by 25.01.2018 / 21:59
1
answer

Ajax does not return Json

Why am I no return on Ajax? It goes through the alert (over the for), but never enters the FOR. I'm not using any framework. Servlet: @Override protected void doPost(HttpServletRequest request, HttpServletResponse response)...
asked by 25.01.2018 / 23:42
2
answers

Return PHP values via Ajax and display in HTML (separately)

How can I return values from a PHP page via Ajax and display them separately? Ex.: I have a PHP page in which I have the return values: <?php echo $a; echo $b; echo $c; ?> Currently I can determine via Jquery that they are displaye...
asked by 03.12.2017 / 16:47
1
answer

Ajax help does not send data to the bank

I'm trying to send a form to my database. Ajax says that the user registration has been successfully done but when I go to look at the database there is nothing there. My Form. <form class="form3" method="POST" enctype="multipart/form-da...
asked by 27.02.2018 / 02:44