Questions tagged as 'ajax'

1
answer

Calling a Class via javascript / Jquery

Is it possible to load a specific method from an ajax? Let me give you an example: var actions = { options : { action : "newPost" , dados : { title : "Novo Post" , content : "...
asked by 17.11.2014 / 12:26
1
answer

How to pass variable to AJAX?

I have a screen where several songs are ready and next to it I have an image that calls AJAX to add this song to a playlist . My question is how to pass the ID of this song to AJAX, since I can not use the URL because it has to be # ....
asked by 06.11.2014 / 17:26
0
answers

PHP (via IIS 7.5) is not getting post via ajax

I have an AJAX request made to the page where the AJAX routine has been defined. Configuring the request with the POST method is not being sent. By changing to GET, it is sent successfully. I think this might be some configuration in IIS o...
asked by 18.12.2014 / 20:06
1
answer

MVC WebApi Ajax error only on homologation server

I have a page in mvc that calls a method in webapi (another project inside the solution), it happens that in localhost everything works normally, when it goes homologation, when calling the method in api, it excute everything correctly, does wha...
asked by 08.06.2014 / 03:58
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
2
answers

Accentuation + $ http.get

I'm having trouble making an Ajax call using AngularJS because the strings that have accents are returning null, as a response to the call, my PHP is returning a JSON json_encode($data) , and upon receiving the answer I'm transforming JSON...
asked by 30.01.2014 / 16:05
1
answer

Is it possible to set the charset in an ajax request?

I have a problem with the characters. I basically open txt files (with an accent) through ajax, but I'm having trouble with the accents. I want to know if there is an ajax way to open the txt file with accents. <script charset="UTF-8" >...
asked by 26.11.2018 / 03:42
1
answer

Communication between PHP files with Ajax

Good morning, guys. I'm starting with PHP, and I'm trying to do some practice tests. I created an input text and when I press the "ENTER" key it is called an ajax posting this data and calls the file control.php, however in the browser log...
asked by 31.10.2018 / 15:14
3
answers

Onclick function that calls PHP function

Talk galley blz? I am a beginner in development and I have a problem, I have a form (HTML) that sends data to a PHP file and registers it in the database. What I need is: When you successfully record the data, display a custom alert on the "i...
asked by 17.08.2018 / 02:36
1
answer

Ajax, send data without refreshing the page

Well, I did a Restful API integration, which searches all the products of an e-commerce and sends Json to another site, and needed to click the "Submit" button, the page would not update. > My problem is as follows, there is no data to insert...
asked by 17.08.2018 / 18:36