Questions tagged as 'ajax'

10
answers

How to create a site without reloading every click on a link?

I want to develop a site that runs around the same file, but I'm not sure how to look for study material for that. So: Normal site-> I'm on the Index.php page. When I click on the "Portfolio" menu, for example, it goes and loads the file P...
asked by 20.02.2014 / 05:48
0
answers

Ajax does not work with specific button

I have a code that when clicking the button it asks for a click reason. After writing the reason he changes the button and should change the information listed below. This code is in Ajax but it is not working properly. By clicking this button...
asked by 09.09.2015 / 15:43
0
answers

Highcharts jQuery.getJSON

I want to build a graph using Highchar, where I get Json, but when I create the graph, for example: "column", the bars are not displayed. I loop because the data is received from a table with several columns. Here is the code for better under...
asked by 08.09.2015 / 04:17
0
answers

How to change the cookie with each click? [closed]

I'm doing an exercise to swap the cookie on every click through ajax. I would like to set a different cookie at each click according to the content that was sent by ajax. I'm sending this Ajax to change the cookie. <script> jQuery(functi...
asked by 24.10.2015 / 02:37
1
answer

Group "plus" and "minus" button clicks to make fewer requests followed

In a site I have a "plus" and "minus" button to change the amount of an item in the cart, only the item is updated and clicked. If the client clicks 10 times in a row, 10 requests are made, and the server takes time to execute all processes and...
asked by 09.12.2015 / 20:43
1
answer

Pass Ajax (X-Editable) data via $ _POST

I'm trying to get data from a form, where some fields I use Ajax more specifically the plugin X-Editable . When I receive my PHP page, the following error message appears. HTML: <form class="form-horizontal" id="termo8" acti...
asked by 05.10.2015 / 22:43
0
answers

I can not modify the encoding of my charts in Google Chart

I'm trying to change the encoding of my chart I made using Google Charts with data coming from a json file. I already changed contentType of $.ajax() but nothing happened. The graph is displayed correctly, the only defect is the le...
asked by 06.10.2015 / 17:40
0
answers

Ajax error return null value [closed]

I have a function in ajax: $.ajax({ type: "POST", url: "@Url.Action("FiltraLevatamento", "Consulta")", data: JSON.stringify(jsn), contentType: "applic...
asked by 19.08.2015 / 19:09
2
answers

Link after uploading a file

<?php $output_dir = "uploads/"; if(isset($_FILES["myfile"])) { //Filter the file types , if you want. if ($_FILES["myfile"]["error"] > 0) { echo "Error: " . $_FILES["file"]["error"] . "<br>"; } else...
asked by 06.08.2015 / 02:11
0
answers

Function with ajax does not load fully

I have a code that when clicking the button it opens a function in javascript . In this function, a part of the code uses Ajax . I need you to click on this button to change the color of the button, the text content and display a mes...
asked by 04.09.2015 / 14:08