Questions tagged as 'ajax'

3
answers

How to save selected items on check coming from bank using AJAX, JQuery and C # MVC?

I have a form that shows me a list coming from the bank in checkbox form. How can I identify which items in the list have been marked in the save? I carry it like this: function CarregaSaida() { $.ajax({ url: "/Qualidade/Entidade/C...
asked by 07.06.2018 / 16:05
1
answer

Pass a button's id inside a while (in php) to a code in java script and start the id inside a modal

I have two buttons in a table that stays within a while (in the php code) and I have a modal outside of that while structure. My question is how can I get the individual id inside my table that is inside the loop repeat and play in the input fie...
asked by 22.06.2018 / 16:18
2
answers

Contact Form PHPMailer does not work

I'm using the PHPMailer class to send emails, but every time I click the submit button it stays with the message forever in the "Sending your message ...". I do not know if the problem is in AJAX or my mail.php . On the console it gives...
asked by 27.01.2018 / 22:41
2
answers

AJAX request is running before the click

js is along with html <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <form id="form"> <input type="text" name="...
asked by 17.12.2017 / 18:56
1
answer

pass select value with array by ajax

I need to pass information from a select array to ajax but I can not. My form: <form method="post" id="form1"> <table width="100%" border="0" cellspacing="0" cellpadding="0" id="table-data"> <tr> <td> <select name...
asked by 18.06.2018 / 15:48
2
answers

Send form data by email

I downloaded the codes of a page on the link to use as a temporary page while the site of an event that I organize is not ready. The page has only one field where the person places the email and clicks send. I need it when I click the Send...
asked by 03.12.2017 / 14:58
1
answer

Checkbox gets bugged MARK ALL -RETIRATE SELECTION -Special event;

Hello everyone, my goal is to check and uncheck the checkboxes until then, all right look at the print: I press to select all and the script selects ALL I click to unmark it uncheck ALL until everything is right. The PROBLEM is that if...
asked by 18.11.2017 / 21:31
2
answers

maskMoney does not work in input inside table

Here I call the mask using class $(function($){ $(".dinheiro").maskMoney(); }); In the form's input it works normal, but inside table does not work. function addProd(obj) { $('#add_prod').val(''); var id = $(obj).attr('data-id'); var...
asked by 30.11.2017 / 03:53
2
answers

Update with ajax in laravel

I have a project in Laravel and I want to make it when the user type something in the text field, when taking the focus of the field it makes a ajax request to the server to update the information. However I am getting the followin...
asked by 10.02.2018 / 18:46
2
answers

Button does not point to another page

I have a button that when clicked on it, localStorage takes its id, there it plays the id to the other page, but when I click on the button it is not pointing to the other page, it is only changing the url to the name of the page that is more "b...
asked by 27.02.2018 / 19:27