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

Problems with ajax on the server

I have an application on ZF2 on Ubuntu server. One of the controllers is triggered from a ajax request. Locally, the application works normally. However, when uploading to the server I started having problems: the request is sen...
asked by 12.10.2016 / 17:14
2
answers

GET request via AJAX only works by giving an enter in the address bar

Good morning, It's kind of crazy that's happening, but I'm doing a request via AJAX sending a GET and the return is okay, that's all right, but this return is a url that after making the request should allow access, but only works if the url...
asked by 11.10.2016 / 15:29
1
answer

Scroll down chat when receiving new message PHP MYSQL AJAX JAVASCRIPT

I'm searching for about 4 days on how to scroll the scroll bar of my chat when you receive new messages and scroll up to see the previous messages. I made a script using setInterval , but when I try to roll div up, it returns down, get...
asked by 09.10.2016 / 01:27
0
answers

Updating Google Maps bookmarks every 10 seconds!

Friends, I made a system to record the points in the DB and then display them on the map. It is working normally, but as I did the BD via ajax, the page is not updated! I'm doing it this way, but updating the whole page: //Gravar os dados n...
asked by 08.10.2016 / 23:36
0
answers

How to submit an image by JQuery, via $ .POST?

Friends, good afternoon! I'm creating a system where the person has to send an image to save to the database, but as I'm making the request via JQuery, it's giving the error message that I can only send jpg, png and gif files. From what I've bee...
asked by 07.10.2016 / 15:30
1
answer

Get element in a json array

I need to get the authorDisplayName element of this array json . It is the return of a ajax request. How do I get only the element with jquery or javascript ? "kind": "youtube#commentThread", "etag": "\"I_8xd...
asked by 05.10.2016 / 21:44
2
answers

Jquery Template does not work on HTTPS page

I have an AJAX function that works on several pages, except for a page that uses HTTPS: $.ajax({ url : url, type : "get", async: false, success : function(result) { console.log("Status AJAX: " + result.resultStatus);...
asked by 22.09.2016 / 00:30
1
answer

Retrieve php mysql query with ajax

Hello! I would like a help to know how to recover data from the php mysql query and present it on the page that made the request via ajax, this code currently displays error 'can not read property' items' of null. I would like to retrieve the se...
asked by 21.09.2016 / 04:46
1
answer

How to do automatic scrolling

I'm developing an application where the user asks a question and the server delivers a response, I'm having trouble getting the scroll bar to follow the conversation, so far I'm having the chat history on the screen, but I have you drag with the...
asked by 15.10.2016 / 07:48