A doubt. In this example:
This is just a test where the api-clients-edit.php page receives the data, saves it and returns the status.
var dados = $("#editarClientes").serialize();
dados += "&id="+meuID;
console.log(dados);
$.ajax({...
I have this code that works perfectly. In the page cadastrarFuncionario.php an INSERT is made in the database and an upload of an image and if successful in upload has a echo "Upload efetuado com sucesso!"; that is displayed in...
I have a code in php that does a return of data in JSON.
When it has only one value it returns as it should:
["[email protected]"]
When more than one value is found it returns as follows:
[ "[email protected]", "ezekielEBurt@d...
I'm trying to make a comment portal, so I'll have a text input on every POST for people to comment, these POSTS will be on the same page (Facebook style), as well as the inputs, which will have to be dynamic.
I made this function using Jquery...
I have an ajax request responsible for sending a file to the servlet, it is performing the process correctly. But when I update the page the following message is displayed by the browser (When I give an f5):
The page you are looking for ha...
I need to use a variable of a closure as a function return to which this closure is nested. How can I do this?
response must be the return of ajaxRequest() :
function ajaxRequest(type, url) {
const ajax = new XM...
I'm having trouble passing javascript date to the Controller via ajax ..
Model:
public class ModelA{
....
[Required]
DataType(DataType.Date)]
DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}")]
Display(Name = "Data de Nascime...
My code for blocking characters looks like this:
$('#rg').on('keypress', function() {
var regex = new RegExp("^[ 0-9]+$");
var _this = this;
// Curta pausa para esperar colar para completar
setTimeout( function(){...
I would like to list the json's ceps, follow it:
[
{
"id": 1,
"nome": "Hospital Da Mulher",
"cep": "60508090"
},
{
"id": 2,
"nome": "Hospital Maria jose",
"cep": "2"
}
]
And this is where I'm calling you:...
I have a problem in a project, there are 3 product search fields and a search button.
example: link
I wanted as the fields were filled out, the browse button would load the link built.
Example: There are 3 fields so they would look li...