How could you develop routine [code block], in order to treat the text field where you have to insert the Hours in real time (current time, arising from the moment). If the user tries to add hours past - issue warning that can not enter daylight...
I am making the following code:
if(xhr.status == 200){
console.log(xhr.responseText);
window.location.reload();
}
But when I do this, it seems like it goes into an eternal loop and crashes my server. How do I make it r...
I am not able to send the image to a folder, using Ajax and PHP, the file name sends correctly, it is only the same file that does not write to the folder, the folder already has permission chmod 777.
What do I need to do in ajax for PHP to w...
I have this ajax. I call a modal, which in theory, when I clicked on an id, would execute that ajax, but it does not execute.
$("#ClassificacaoId").on('change click', function () {
valor = $('#ClassificacaoId').val();...
I want to develop for a client where he will select a group of employees and everyone can edit a file via web. He wants style as it does in Google Drive Docs, where the person types and the other person who is on another computer can see it in r...
I have a search system with load on demand with php and jquery, I can search for letters correctly, and do the load on demand correctly, the problem is that when changing the letter to fetch, it loads the data of the new letter together with the...
Hello, people, I would like to know how to send a php variable to another javascript document through Ajax.
The PHP variable in question is this:
$json = json_encode(simplexml_load_string($show));
Here it returns the value of a string, bu...
I am creating a order page with the code below, what I want is that when I choose the quantity of the product, it already appears the total value of the product x quantity . If I set the var price_prod1 = 10; value to work, but in the s...
I have a form and the following requisition:
jQuery('#cadastro').submit(function() {
var dados = jQuery(this).serialize();
jQuery.ajax({
type: "POST",
url: "/cadastrar",
data: dados,...
I'm creating a page in PHP that does a query in a JSON / PHP via ajax and I need it to send to the URL, form variables so I can do a query in this JSON / PHP.
HTML:
<form method="GET" name="formularioBusca"> <input type="text...