Questions tagged as 'ajax'

1
answer

AJAX receives JSONP as "undefined"

First of all I wanted to say that I was researching for it here in the forum and I found some similar questions, but no answer worked here. Next, I have a php file on the server that connects to the database, makes a query and returns the jso...
asked by 22.05.2016 / 01:36
0
answers

Triple Dynamic Combo

Good afternoon, Next, I'm doing a dynamic combo with three selects where I have offensive area, status, and substatus. I pull the offending area and it pulls the cute status. This script was an adaptation of one I found in google, so I wanted...
asked by 09.05.2016 / 17:19
0
answers

problems with conversion haml to html / erb

Hello. I have the following snippet in haml: %a.btn.btn-small.notes_campaign{:role => "button", :data => {:campaign_group_id => campaign_group.id}} %i.icon-tasks Notes And you'd get to pass it on to erb. My problem is in thi...
asked by 26.03.2016 / 05:40
0
answers

Ajax does not pass information to servlet

I have a problem with the code, the servlet is not called. Only works if I put action="FileUploader" in form. Is there a mistake? Do you have any other way to do it? What I need: An array of images, where images are received in a single multiple...
asked by 09.04.2016 / 22:53
0
answers

Searching for PHP data by Ajax

I have a Ajax script here that its function is as follows. I have a news system, which when clicking on the title will open a modal and display the data of the news (title, text, author) .. however I do not know what to put in PHP .. This is...
asked by 14.05.2016 / 18:29
0
answers

Requesting in the Twitter API using Jquery and Ajax

I'm trying to fetch data from a Twitter page, with no success so far. I got the access token through the PHP Controller, and I intend to use it to make requests. var token = 'Bearer <?php echo $token['twitter'] ?>'; $.ajax({ type: '...
asked by 03.05.2016 / 20:54
0
answers

How to load only if clicked

I'm creating a video page, where the last 10 videos are listed. Only this page is very heavy because I have the video codes and even using hide / show it ends up loading all the players. I would like an idea for this button to show the video,...
asked by 03.05.2016 / 07:36
0
answers

I can not get return from the REST webservice

I'm trying to communicate my .html client with a REST service I created in ASP.NET C #. At first it was just to login and if the login and password was correct it redirected to the home page of my application. The problem is the following my AJA...
asked by 21.03.2016 / 18:06
0
answers

jQuery ajax content-type clarification

What would be the difference / utility to use: beforeSend: function(jqXHR) { jqXHR.overrideMimeType('text/plain; charset=iso-8859-1') } and contentType: 'text/plain; charset=iso-8859-1' , and the contentType just does not work....
asked by 23.03.2016 / 17:08
1
answer

Request Ajax jquery Jsonp Returning Undefined

I need to handle the feedback of the following code below. Remembering that it works correctly however, at some point, the searched term does not exist returning "undefined" and does not show anything on the screen. I need you to look for a stan...
asked by 12.04.2016 / 14:34