Questions tagged as 'ajax'

1
answer

How to call a modal in View by Controller's ActionResult

How to call a modal by ActionResult of the Controller, after the user clicks the button to register? Currently the controller is redirecting to the index page after the user signs up. I want instead of redirect, call the modal that is in the...
asked by 25.10.2018 / 17:48
1
answer

Complete form without reloading the page

I'm trying to implement a page where the values of a table can be changed in the database of a system. When I select the name of the people listed, I call the function ola through onchange , which is working perfectly, but when t...
asked by 22.10.2018 / 15:30
1
answer

Ajax not populating select on second request

Hello, I have some ajax requests on my page that populate a select correctly, however, I need to do it again in a modal update, but the same ajax request returns nothing. This is the code for the first request: <div class="form-gro...
asked by 16.10.2018 / 18:01
1
answer

Pass the page html via GET Ajax

Hello, I'm trying to download an excel file by passing the html page, but when trying to send the html, it's passing as null. Ajax function exportarExcel() { var html = $("body").html(); $.ajax({ url: location.href = '@...
asked by 18.10.2018 / 17:02
1
answer

Shopping cart (checkout) keeping only the last value

All right? I'm working on a project with Laravel PHP framework for backend and jQuery for the front end. I'm setting up a football stadium ticket checkout for a system I'm developing. I almost have all the checkout ready, however, what hap...
asked by 13.10.2018 / 01:47
1
answer

Ajax Request Returning in White

Alright? My question is this: I am making an ajax request for my servlet and its return is being blank. JS: $('#pesquisar').click(function() { $.ajax({ url: '../UsuarioController', type: 'POST', data: {nome_pe...
asked by 15.11.2018 / 20:35
1
answer

Null object with jquery ajax MVC3

I know I must be forgetting something. I am making a jquery ajax request to send a message via contact form, however the object is arriving null at controller . I tried doing with JSON.stringfy and without it, with it comes th...
asked by 15.11.2018 / 22:43
1
answer

Can you capture a value from the radio button via ajax

<div class="btn-group btn-group-toggle col-xs-5" data-toggle="buttons"> <button type="radio" name="tipoTransacao" id="tipoTransacao" value="1" class="btn btn-success" ><i class='fa fa-arrow-up'></i>Entrada</...
asked by 16.11.2018 / 06:18
1
answer

How to delete full Html content?

I'm doing a chat using PHP, JavaScript, Ajax and HTML. I know this is not the best option, but I chose to create a log.html html file that stores all messages and is uploaded by my index.php PHP file. All messages are sent to the l...
asked by 27.09.2018 / 16:11
1
answer

How to do a dropdown autocomplete field in Loop

As I do not have much knowledge of javascript I need a help in this my problem here ... In this form and precise that when choosing an item in the dropdown it fills the field next to the value contained in its value <script src="https:/...
asked by 24.09.2018 / 20:19