Questions tagged as 'ajax'

1
answer

Connect wordpress using ajax using javascript

Has anyone on your blog used wordpress and connected it via ajax using javascript? My question is this... How would the function that I return the most viewed posts on the blog without using pluggins and using javascript     
asked by 29.03.2018 / 00:49
2
answers

Search Result in Laravel

Doing a search in Laravel, it gives me the search well in terms of name but not in ID. That is to say. This is the list of objects <div class="panel-body-exercises"> <h1 class="hidden">List of Exercise </h1>...
asked by 13.04.2018 / 23:25
0
answers

retrieve date from an ajax call in struts

I have to recover from java a date that is passed as a parameter in the url of the ajax call. The parameter in the URL from the ajax call gets it right, the problem comes from the java part that is null. if(id=='A'){ tipoFactur...
asked by 24.01.2018 / 10:33
2
answers

Validate registered user

I am trying with Ajax to show if the user exists in the database so as not to have two registered users with the same name. What I do is through the event change of jQuery show with a span if the user exists or not in...
asked by 27.03.2018 / 20:56
2
answers

How to read the result of ajax with c #?

I have this code that makes me a query an action of my controller, which returns a list in JSON function CargPregRegist(valor) { $.ajax({ type: 'POST', url: '@Url.Action("CargPregTipo")', data: "tipo=" + valor,...
asked by 24.10.2017 / 20:16
1
answer

Create a File Uploader with a progress bar and it does not work

I have a problem with my code, the problem is in the JavaScript but I do not know what it is, I also attach the html and css to make it look better. The idea is to make a file uploader with a progress bar to store files, I have it uploaded to th...
asked by 01.03.2018 / 20:23
3
answers

Every time I give a button an element with a different id is created

In summary I have a function that is as follows: function datos3(){ resp=$("#ref_mi").val(); if(resp != "" && resp !=null &&typeof resp != undefined){ jqmSimpleMessage('Agrega cotizacion: '+resp); $...
asked by 22.08.2018 / 20:06
1
answer

Selects nested with Django and AJAX

I am doing tests for a form that I must do and the most important thing are two combo boxes, where the second one depends on the choice of the first one. I have done many tests with different methods but I have not achieved the result I need....
asked by 26.09.2017 / 18:29
2
answers

pass values by ajax error

I have a routine to update the status and balance of a document, this is the jquery code $("#invBtnPay").on("click", function (event) { alertify.confirm("Pagar Factura", "El Saldo de la Factura es de $" + $("#idt_saldo").text(),...
asked by 09.04.2018 / 15:14
1
answer

the call to .done in ajax is not completed

I have the following function function deleteItem(item_id) { var invoiceData = { 'idt_id': item_id, 'inv_id': $('#inv_id').val(), 'inv_number': $('#inv_number').text(), }; $.ajax({ type: 'GET',...
asked by 11.04.2018 / 16:08