I have a search ajax that retouches some data based on what was searched, how do I play that 'date' that comes from an ajax in a foreach in php
?
$.ajax({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')...
Hello!
I have the following controller function.
public function lancamento_listar()
{
$lista = $this->lancamento->obter_dados();
$data = array();
$no = $_POST['start'];
foreach ($lista as $lancamento) {
$no++;...
In an ajax request it returns the following:
{
"og:locale":"pt_BR",
"og:type":"article",
"og:title":"Um titulo qualquer",
"og:url":"http:\/\/www.umsite.com.br\/uma-url\/"
}
My request:
$.ajax({
type: "GET",...
I have a table that shows student records, and each row has a button to delete the student, and the deletion is done via AJAX. I would like to give a fadeOut on the line that is deleted, so in the AJAX success I did the following:
success:func...
When checking the insert mounted on PHP with the form information, I can see that the value of the data_final field is not captured correctly, I would like to know what is wrong, a matter of formats.
Thanks in advance for your sugges...
I have this code that goes in the VTEX Master Data (bank) and makes an inquiry in a certain email. If you have this email, you have to bring the customer's phone number.
How do I save the result of the object in a variable? It only appears on...
I need a drug DIV to be populated the moment the user chooses one of the options in a combobox (subtype).
In my index I have the combobox, where I created the Ajax script as below:
$('#subtipo').change( // o subtipo está localizado nesta...
I have two post requests in the form, one inactive and the other one activates a registration, as they are the same I will only display one to exemplify:
function inativarCadastro(cod) {
$.ajax({
url: '@Url.Action("InativarCadastro...