I'm making use of the Post API. I was able to track objects perfectly. However, there is still an action to complete the ra- tification: verify that the object has arrived.
I wanted the API to execute a method from my application and settase...
I would like to do this in CSS:
$("div.slider").height($("div.slider div.slide").height())
Is it possible?
The goal is to create a slide where the height of the div container is always, at runtime, the same height as the slide div
I t...
I display a DropDownList with two SC and PR values, if it selects SC then I want it to display two TextBoxes, one with the RG, and another with the Birth Date, and if the person selects PR, I want to get off only a field with the Date of Birth a...
I am using Datatables with server-side processing and using SweetAlert2 to confirm before deleting the record. Everything is working except for the sweet alert that is not displayed when you click the delete link.
Using datatables without aja...
I have the following code.
function previewFile() {
var preview = document.getElementById("image_display");
var file = document.getElementById("imagens_not").files[0];
console.log(file);
var reader = new FileReader();
reader.add...
I have the following slide below:
$(document).ready(function(e) {
const blocos = $("div.slider div.slide div");
function startslider() {
ativa = $(".ativa")...
I have a form in html and I need to fill in the fields and click the "Next" button to send the form by email without the person noticing, since the form continues in the next steps ...
<div class="form-group">
<input id="texto...
I'm using just this:
fadeIn(1000) - delay(6000) - fadeOut(1000) (8 seconds)
To display an alert for the user, I decided to put a button on the alert for the user to give dismiss , using fadeOut(300) , but i...
I would like to send an array after a success return from ajax to a php file
Event:
$('#btn-boleto').on('click', function(){
$.ajax({
url:'/controlegeracao/gerarboleto',
type: 'POST',
dataType: 'json',
data: {
id: $(...
If I send a post like this:
data={ 'supplier': supplier_name,
'date': date,
'payment':payment,
'material':[{"name":"tubo","qtd":3,"price":3},{"name":"calha","qtd":4,"price":5}]
}
$.ajax({
type:"POST",
url:"{%...