Questions tagged as 'jquery'

0
answers

Verify that object arrived via the Post API

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...
asked by 03.05.2018 / 21:15
0
answers

Change height of parent by height of child

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...
asked by 03.05.2018 / 20:11
1
answer

How to display two TextBox from a result in DropDownList

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...
asked by 04.05.2018 / 02:39
1
answer

Datatables server-side processing with Sweet Alert 2

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...
asked by 03.05.2018 / 17:14
0
answers

Using Filereader to display images by creating divs?

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...
asked by 09.05.2018 / 18:58
1
answer

Buttons when they arrive in the first and last sliders show blank

I have the following slide below: $(document).ready(function(e) { const blocos = $("div.slider div.slide div"); function startslider() { ativa = $(".ativa")...
asked by 09.05.2018 / 15:40
1
answer

Send information without completing the form (submit)

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...
asked by 10.05.2018 / 22:18
1
answer

Kill execution of delay () using jQuery

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...
asked by 10.05.2018 / 20:39
0
answers

How to receive an array after ajax in a php file

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: $(...
asked by 09.05.2018 / 20:13
0
answers

Receiving Post Json in Django FrameWork

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:"{%...
asked by 09.05.2018 / 21:30