Questions tagged as 'ajax'

1
answer

Modal to inform users that registration was successful

Well, I wanted the user to register in the system and if it worked out, a modal saying that:    Registered user successfully If already exists the matricula or email informed will appear a modal with something like:    En...
asked by 12.11.2018 / 22:24
1
answer

Populated table via bank coming with empty field

I'm populating a table via a select that I have in my file selectUser.php . selectUser.php: <?php require "conexaoBD.php"; $nome = $_GET["nome"]; try { $pdo = new PDO($server, $dbuser, $dbpass); $sql =...
asked by 24.04.2018 / 18:27
1
answer

jQuery DataPicker error on page with Ajax

I'm finalizing a registration page and realized that jQuery Calendar after being uploaded a second time does not work. $(function() { //Mascaras para Calendário.... $( "#datepicker10,#datepicker11,#datepicker12,#datepicker00" ).datepi...
asked by 28.05.2014 / 00:04
1
answer

Changing the color of the td without updating the page with ajax

How to solve this problem, I saw that there are solutions in ajax but I could not develop, what I need is to change the color of the td of a table without having to refresh the page , the color change of the td should happ...
asked by 05.06.2014 / 02:59
1
answer

Modal update while deleting table record - MVC

I have this modal, and I have the delete function, I need the data to be deleted and updated, without closing the modal. Here's how the code looks: This is the modal: <div class="modal fade" id="myModal" role="dialog"> <div class...
asked by 07.08.2018 / 13:16
2
answers

Set loading time for loading

I have the following code that I use to send form data to the PHP file. function loginRequest() { // Declaração de Variáveis var usuario = document.getElementById("txtusuario").value; var senha = document.getElementById("txtsenha").val...
asked by 30.12.2017 / 00:55
2
answers

Ajax return a result loop

I'm doing a financial system with ajax, both revenue and expenses have "descriptions" and to edit the information of a recipe I call its information but I have to pull the descriptions tbm. But the thing is that I use append on the front end to...
asked by 16.12.2017 / 18:05
2
answers

What is the correct way to send a form to a controller via AJAX?

I have a simple form, which is basically my ViewModel. I'm doing a post via AJAX passing this form, but on the server side, everything is always null. My AJAX is as follows: var formData = $('form').serialize(); $.ajax({ url: '/configuraca...
asked by 03.10.2017 / 18:14
1
answer

Controller getting parameter array as null

I am making an AJAX request, but I can not pass array ... My controller looks like this: [Route("imoveis/BuscaDados/Json/Listas/ListaQuartos")] public JsonResult ListaQuartos(int idEstado, int idCidade, int[] idsBairros, int[] idStatus)...
asked by 16.01.2018 / 14:09
1
answer

Upload ajax jquery php

I need to upload the image with ajax / jquery, following this structure: Form: <form> <input type="text" name="seu_nome" /> <input type="text" name="sua_senha" /> <input type="file" name="file" /> <button type...
asked by 06.02.2018 / 20:46