Questions tagged as 'ajax'

2
answers

how to fix WebService Post refuse

When Posting: $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "/CmisWebRequests.asmx/GetMessageResponse", data: dataToSend, dataType: "json", async: true, error: function(ex) { al...
asked by 08.03.2017 / 21:51
1
answer

Problems When passing data via ajax

I have a form where it is validated by jqBootstrapValidation.js, and it is sent to another file, which is the file below: // Contact Form Scripts $(function() { $("#usuariosForm input,#usuariosForm textarea").jqBootstrapValidation({...
asked by 08.05.2017 / 14:36
1
answer

How to load data from an ajax request into DataTables

I'd like to know a way to load data from an ajax call into the datatables. so that I can reload the table. I am loading by a method in ajax that passes to the table in the data object, but when I call the method again to reload the table I ge...
asked by 16.04.2017 / 00:56
1
answer

Django formset, calculate total with JQuery

I have my order items being displayed with formset, the quantity and price columns are editable. I can not calculate the total after changing the price or quantity. I can identify the value typed by pressing enter, but how could I get the price...
asked by 07.04.2017 / 05:04
1
answer

Ajax sending model to controller

I would like to know if it is possible for me to pass a "Model" object via ajax to my controller. $.ajax({ type: "POST", url: "@Url.Action("CadastrarSementesVariedades", "SementesLevantamentoVariedades")",...
asked by 07.03.2017 / 22:11
1
answer

Ajax return with multiple result and creating lines

Due to an internal need, I need to make the return of an Ajax query create rows for each displayed result. Today I have a function that I use and that works normally when the result is only of one line, as below: Now,ifthereturnisofmorethan...
asked by 26.01.2017 / 14:11
1
answer

Search within a _POST

I was wondering if I can fetch data within a POST? I need a lot, because each box is a different id. Example: **JS:** data {'id':id, 'ponto1':ponto1} **AJAX:** id: $id = isset($_GET['id']); $ponto = isset($_POST['ponto".$id."']);    ...
asked by 04.03.2017 / 01:54
1
answer

Send form parameter to the controller via ajax

I have an Index with a form, I need to fill out this form and when I click the Filter button, call the controller using ajax. Index.cshtml @using (Html.BeginForm("ResultadoPesquisa", "RelatorioDesempenhoData", FormMethod.Post)) { @Ht...
asked by 03.03.2017 / 19:05
2
answers

load div with ajax without error in replies

I have a problem with my ajax script, its function is to get the zipped key and bring its values via the API, but it is presenting an error that I can not solve, typing the full zip it shows exactly the information but they disappear next! then...
asked by 12.01.2017 / 23:18
1
answer

ProgressBar does not update according to request XMLHttpRequest - Jquery / Asp.net

I'm building an application to upload videos and photos, and I'd like to put a ProgressBar to show the progress for the user, I found some questions to answer (#), but I'm having a bit of trouble understanding, so I could not do the Prog...
asked by 13.01.2017 / 13:54