Questions tagged as 'ajax'

0
answers

jquery .load and .ajax return different values, why?

Hello, My problem is that using .load or .ajax on the same address, I get different data values. Here's an example: <span id="charset"></span><br/> <span id="d_nome" title=".load"></span> <span id="d_nom...
asked by 06.03.2016 / 17:16
1
answer

Json misconfigures when requesting via angular http

I'm doing an add-on for Firefox and this is powered by json that comes from an ajax request, which I do via http's get method. When I print json by calling the direct address on the screen, it normally displays, but when I make the request fr...
asked by 26.04.2016 / 02:38
0
answers

Codeigniter + ProgressBar

Hello. I'm trying to develop a file upload system which at the post it generates and loads a progressbar according to the course of my file unpacking, reading and storage script in the database. This is the first time I'm messing with progres...
asked by 23.04.2016 / 15:20
0
answers

JQuery with Ajax to update same PHP page

I have a page called formular.php that has the following code: if(isset($_POST['date'])){ $date = ($_POST['date']); echo "Data: ".$date; } The page also has a form with a JQuery datepicker: <form id="myform" name="myf...
asked by 23.03.2016 / 05:59
1
answer

Show information without updating page

I'm creating a project in which I will have "two interfaces", one used by the cell phone, the other used on a computer, on the mobile phone I'll have the YouTube API, using list , with JavaScript. > The client you are using will search f...
asked by 23.03.2016 / 05:45
0
answers

Ajax error - unexpected data close

I'm trying to figure out what's happening with the ajax code below. If the string comes with data, it works correctly, but if it comes empty, the error occurs:    JSON.parse: unexpected end of data at line 2 column 1 of the JSON data If I...
asked by 25.01.2016 / 19:49
0
answers

Refresh Datatable - Ajax cellEdit (Primefaces)

Hello, I'm trying to update the DataTable but I'm not getting it. Here is the code: <h:form id="testeForm" > <p:panel toggleable="true" id="panelTeste"> <h:panelGrid columns="1" cellpadding="1" id="panelGrid...
asked by 19.01.2016 / 20:22
3
answers

Ajax upload does not send image or parameter

I'm trying to upload without From, for image upload, but I can not. html <input id="avatar" type="file" name="avatar" /> <button id="btnOcorrenciaSalvar">Salvar</button> Javascript code: $("#btnOcorrenciaSalvar")....
asked by 20.12.2015 / 02:02
0
answers

AJAX request on the server

AJAX request does not work when on server ... locally runs normal ... Anyone have any idea what it can be? function SalvarPedido() { //Data var data = $("#Data").val(); //Cliente var cliente = $("#Cliente").val(); //Valo...
asked by 17.12.2015 / 21:31
1
answer

How to check a login form without refresh? [closed]

I want something that when clicked on the Entrar button it sees if this is all ok password and correct email. How to do it in JavaScript (preference) or in AJAX?     
asked by 29.12.2015 / 12:01