Questions tagged as 'ajax'

1
answer

on ajax vs attributed events

When the document is ready, $(document).ready , I send an AJAX request to a PHP page that generates a table that I put in my body, but, ... below that ajax request, I have functions that handle events of this table, as hover in line,...
asked by 18.01.2015 / 01:11
2
answers

Sending json files to server

Well I'm making an application and it needs to register a certain person, this data I need to send via json and receive what happened. ajax.js /* button #btn_REGISTRAR */ $(document).on("click", "#btn_REGISTRAR", function(evt) {...
asked by 18.08.2015 / 18:46
1
answer

Ajax is returning undefined

Well, I'm just trying to list the names I have in the bank, but the message undefined , can anyone help? Below is the jquery + query to the bank. jQuery: <body> <script> $(document).ready(function() {...
asked by 25.06.2015 / 17:21
4
answers

How do I open and hide fields on a form by check on button radio?

I have a form and in it I have two radio fields that, depending on the choice, should open other fields to fill. Thanks     
asked by 04.03.2015 / 15:27
1
answer

Capture size and extension of a file and report via HTML

I have a listing of files on a page that I'm developing. The HTML looks like this: <li class="downloadsCont"> <div class="grid_365 f-left"> <div class="downloadsContImg f-left"> <img src="fotoSYS&w=290" alt...
asked by 30.09.2014 / 15:08
2
answers

Insert mysql using ajax

I'm trying to insert a record into the DB via ajax but I'm having problems, I was using format: 'json' but it was giving permission error and talz, now I'm using type: "POST", dataType: "jsonp" . Anyway, this data for me to insert t...
asked by 12.08.2014 / 19:28
1
answer

Learning to use AJAX in ASP.Net MVC 4

In my project, I have two different models , thus generating their controllers and their views. The only thing that happens is that I do not know how to use AJAX and I needed an urgent help from you. What happens is that I wanted to render th...
asked by 13.05.2014 / 19:31
3
answers

Pass multiple variables into Ajax function

QUESTION REFERENCE TO FACILITATE THE EXAMPLE I have the following inputs in an HTML (I will show 3, but the actual situation is 20): <tr> <td>Digite o código:</td> <td><inpu...
asked by 26.02.2016 / 19:30
2
answers

How to change the data type in the $ .post request in jQuery?

var envio = $.post("processamento/busca.php", { unidade: $("#unidade").val() }) I have this request, I would like to change the datatype to json, in ajax has a datatype parameter, but I do not know how to use it in $ ....
asked by 25.02.2016 / 20:57
1
answer

Cache problem with ajax (text files) [duplicate]

I made the ajax connection to insert a .txt file into a div, but I modified the text and saved it but the text does not change (as if I had not saved it) If you want to see the site that is the text (biology-> Food Chain): link The "f1...
asked by 20.11.2018 / 12:44