Questions tagged as 'ajax'

1
answer

Uploading Images

I do not have so much knowledge in the backend area, but I need an image uploader, I looked for a way that does not use database, but I believe it's impossible. I need a uploader similar to Froala editor , I decided to take a closer look at h...
asked by 15.03.2016 / 13:58
1
answer

Modify code to avoid an XMLHttpRequest with $ .getJSON

I'm developing an application here, and I use a JSON object for popular, but when I use $.getJSON() Chrome gives the following error: XMLHttpRequest can not load file: /// C: /Users/JeanCarlos/Documents/GitHub/NetworkDiagram/Applicati...
asked by 24.02.2016 / 17:31
1
answer

Problem to query within second Dropdown

Always enter the ajax error: error: function (ex) { alert('Failed to retrieve vigararias.' + ex); } Screen Error:    Failed to retrieve cheaters. [object Object] View: <script type="text/javas...
asked by 15.01.2016 / 13:24
1
answer

Using dynamic combobox how to send the id to server automatically without using the submit button and return all values where id is equal?

I'm using a dynamic datalist that does auto-complete. In the combobox below, it is linked with database gestao_vendas , where in the inventory table it contains all product names and their idProduto . How can I do that when I c...
asked by 16.01.2016 / 13:08
1
answer

Error returning AJAX data

My code is working to the point where ajax has to get the answer to print on the screen, the insert is normally done in bd, if it changes the return $ ("# requests"). for $ ("# requests"). html (data); does it work by returning serialize, is som...
asked by 22.02.2016 / 20:43
1
answer

No 'Access-Control-Allow-Origin' header using php

I'm trying to make a simple request via localhost to an external server, but to no avail. Can anyone help me? $(function(){ jQuery.support.cors = true; $.ajax({ type: 'get', crossDomain: true,...
asked by 13.02.2016 / 04:59
1
answer

Jquery stops working after running the load command

I'm using the $("#teste").load(location.href+" #teste>*",{id : idd}); The command updates the data div group and sends parâmetro to it. The div , has class, jquery commands that interact with the user. When loa...
asked by 18.12.2015 / 18:28
1
answer

Retrieve data from Symfony action in Ajax

Hi, I have a button that triggers a Ajax action that leads to a action in controlador Symfony . In the action I can do select and see the information I want, but I just can not get it in Ajax, in view . Look at m...
asked by 17.11.2015 / 12:07
1
answer

write files to the database with ajax + jquery

I am not able to save data in the mysql database with ajax, can anyone help? Not from error or anything, just does not save. PHP:      $serve = mysql_connect('localhost', 'root', ''); if(!$serve){ echo 'erro';} $db = mysql_select_db('observato...
asked by 03.10.2015 / 20:41
1
answer

Construct a table on page B with DB data and unload on page A by ajax_jquery

I now need a b.asp file, build and populate a table (html), and then download it through ajax in the a.asp file. So: b.asp file <%@ LANGUAGE="VBSCRIPT" %> <% Option explicit %> <!--#include file="../../gen/inc/EBAXML.in...
asked by 24.09.2015 / 20:07