Questions tagged as 'ajax'

1
answer

Change background of a DIV in iframe

Next Person, I have a form to upload any image ... <form id="form-upload" enctype="multipart/form-data" action="url" method="post"> <input type="file" name="image" id="image" /> <input type="submit" name="salvar" valu...
asked by 27.04.2015 / 00:09
1
answer

Problems inserting HTML using ajax

I'm having trouble inserting HTML using ajax HTML: <table class="table table-hover"> <thead id="thead"> <tr id="tr-thead"> </tr> </thead> <tbody id="tbody">...
asked by 18.03.2015 / 15:06
5
answers

How to select a checkbox and retrieve data in the database?

I have 2 types of checkbox and I need to select one of the two to display a field of type input text with the information coming from the database. The input field will be disabled, that is, it will only be displayed. Doe...
asked by 15.02.2015 / 17:32
1
answer

modify an input and perform the update

php Can anyone give me some tips on implementing a part? I have a text input inside the while loop: "<td><input type='text' value='".$valor['url_video']."' style='width: 400px;' id='url-video'></td>". , inside this...
asked by 26.03.2015 / 20:11
1
answer

Update an asp section variable without refreshing the page

I'm breaking my head to try to solve this problem, but without success ... I have a virtual store created for another programmer who disappeared. To vary code is undocumented. To calculate the freight in the shopping cart it calls another...
asked by 27.03.2015 / 05:44
1
answer

AngularJS ng-click event does not work when configured on an element coming from an asynchronous request

I have a page called DLL.php that contains a DataTable ( link ). I used the DataTable plugin's interface to dynamically load the contents of the DataTable. The last column of the table contains only checkboxes. I want these checkboxes to trigger...
asked by 20.03.2015 / 16:49
1
answer

How to select the result of a json CEP in an existing option?

$.getJSON(url, function(json){ $("#pf_endereco").val(json.logradouro); $("#pf_bairro").val(json.bairro); $("#cidade").val(json.localidade); <---- $("#estado").val(json.uf); <---- How to put locality and uf informatio...
asked by 22.10.2014 / 03:21
1
answer

GET image / gif with jQuery

I tried this however the Chrome Developers utility recognizes dataType as xhr $(document).ready(function() { $.ajax({ type: "GET", url: "/img/img.gif", dataType: "image/gif", cache:...
asked by 24.05.2015 / 02:20
4
answers

AJAX does not pass values to PHP

Code of my main page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Salão de Beleza –...
asked by 06.11.2014 / 15:31
1
answer

How to get multiple data from a page and display separately with AJAX

I have a program where he creates cookies with the data that the user typed in the <input> fields. This all through AJAX. So far no problems, but in this file I make the request, it returns me the data of the cookies created. What I...
asked by 29.08.2014 / 20:33