I have a $ ('form'). on ('submit', function ()); and inside it I would like to make a call from a function that runs an ajax and returns an array of data. however when saving the return of the function in a variable it becomes "undifined" can no...
I created an ajax request for success to dynamically create a new li element, however I also have a function in ajax to delete the registry and in success remove the li created.
The problem is that, in all elements that were created dynamica...
I have a table with a delete button where it should be clicked to delete the record in question, but when I click delete it performs the correct deletion in the database and when updating the table it deletes the line from the top...
I have a script that basically reads a .log in real time and shows it on the screen, but the question is that it starts with the DOM, I would like it to start just from the click of the button, could you help me? / p>
<?php
if (isset($_GET['...
I am making an Ajax request, where it works in Chrome perfectly however in firefox it does not work.
It tells me that event is not defined
function pegarValor() {
dado = event.srcElement.innerText;
var XMLHttp = generateX...
I'm using JQuery, Ajax, PHP and MYSQL to do the Autocomplete in a search field for cities in Brazil.
When I type the name of the city the suggestions appear and when I move the mouse over each city the code automatically fill in the form with...
Good afternoon
I'm trying to make a MySQLi query, that is, I want each row of the database to go into a separate div, I searched and did not find anything similar to what I think it gets in a difficult way to understand
HTML code
<div id...
I have the following return in json:
{
"ConsultarRegistroPorCodigoResult": {
"Codigo": 2,
"CodigoSetor": 1,
"Login": "ednilson1",
"Nome": "Ednilson",
"RegistroAtivo": true,
"Senha": "123456",...
I have developed a contact form in my site but in this form it has a select unde the person will be able to choose a service but I have no idea how to insert this into my code I would like to know if it is possible. At first my code wor...
I have the following script:
('#AjaxUpdateClient').submit(function(e){
var id = $(this).attr("id");
var form = $(this).serialize();
$.ajax({
type: "POST",
url: "/updateClient",
data: form,
dataType:...