Questions tagged as 'ajax'

1
answer

array in javascript that communicates in php

I need to create a array in javascript tag that is submitted your information to a page php . How can I do this? Next, I had a php that I uploaded, repeated data from the bank. So to improve her performance, I've created a scri...
asked by 05.03.2014 / 15:12
1
answer

Upload javascript file along with infinite scroll

I need to reload a JS function as soon as I roll the page with infinite scroll in AJAX. When the page is rolled the JS file needs to accompany.     
asked by 23.04.2014 / 21:43
1
answer

Value as Object when selecting item in Select2

The Select2 plugin works normally, the only problem is when I make the item selection the value set in the hidden (mandatory to bring data via AJAX) stays as [Object Value] and not the value specified by the format. Follow form...
asked by 24.07.2014 / 15:41
1
answer

Call Javascript function with onclick with content loaded div

I have a div that has its content loaded after loading the rest of the page. It is called by a button via AJAX. I have another button inside this content that would call a Javascript function to confirm a page targeting. But when it's ins...
asked by 28.04.2014 / 14:31
1
answer

Change font color of a cell Table with ajax

Let's say I have the following table: IhaveanoptionthatIclicktoactivatetheusersselectedbycheckboxes.Everythingalreadyworkingandevenoccurstheactivationofusers.I'musingAjaxbyhavingthebrowsercommunicatewiththeserverandactivatetheuserwithouthavin...
asked by 06.11.2014 / 19:10
2
answers

Request Method Changing from GET to OPTIONS alone

I have the following code: $(function() { $('#method').change(function() { var method = $(this).val(); if (method == 'GET' || method == 'DELETE') $('#json-group').hide(); else $('#json-group'...
asked by 13.06.2014 / 22:04
1
answer

Upload file ajax asp.net-mvc

I have the following problem when I use file upload. Ajax executes "at the same time" the two actions. And I would like him to perform the ulpoad action and then the other. Or another way to upload. <div class="editor-field"> <inpu...
asked by 16.06.2014 / 20:16
3
answers

Remote PHP access with Ajax - Return is the PHP code itself

I have a system as below: Client-side HTML, JavaScript, and PHP on the server side. The idea is to have a kind of WebService, where an HTML page (it has to be HTML because it will run in an HTML5-based app with Intel XDK) requests information fo...
asked by 24.06.2014 / 23:59
1
answer

how to concatenate an object in asynchronous function?

Hello, I'm developing a website to train a bit of js, but I came across the following situation: I have a javascript Object that I created to facilitate Ajax queries, however when I'm doing the requests sometimes a link is solved or finished (I d...
asked by 21.07.2018 / 18:45
2
answers

View neighborhood according to City - CAKEPHP

I'm using cakephp in a real estate project, when I add a real estate the client selects the city, so I need to be listed the list of neighborhoods in this city .... View / add: echo $this->Form->input('cidade', array('label...
asked by 27.02.2014 / 12:57