Questions tagged as 'javascript'

0
answers

Upload multiple files using the same request?

I'm using the VueJS / Quasar Framework to make the front end of my application and HapiJS to do the server. And in the part of uploading the attachments I'm testing with multiple upload files, and I came across the following problem: For eac...
asked by 04.09.2017 / 22:12
1
answer

Handling Logic and Exections - jQuery

I have some buttons which in onclick of them work with two Ajax requests for an external file that add products, but this is not of extreme importance in this matter. My problem is this: if the buy button is clicked, the product is added,...
asked by 05.09.2017 / 20:48
1
answer

.unload () function - jQuery

I make two ajax requests for an external file from which to add and remove products, but this is not very relevant to this issue. I wanted every time the page was updated, the removeCartaotoCart function was triggered so that depending on...
asked by 09.09.2017 / 15:37
0
answers

Configuration of Response Headers

I created a server in Express and my client in Quasar / VueJS. I need to send a PDF to my client, the PDF in question is already created on the server, but I'm having trouble sending it to the client. I'm using Axios to make client-side requests...
asked by 15.08.2017 / 15:05
1
answer

How to transform numeric digits into full numbers?

Question: I'd like to know how to turn numeric digits into numbers in extensions , as the example below demonstrates. Example: 0 -> retorna "zero" 5 -> retorna "cinco" 2014 -> retorna "dois mil e quat...
asked by 15.02.2014 / 01:37
2
answers

Return desired value within a function

When trying to return the value of $("#datepicker-range").val() at the beginning of the code, console gives me an empty value. So I was suggested to do a page sniffer because the reason the field was not capturing the date field...
asked by 14.08.2017 / 16:39
2
answers

Start animation when the DIV is visible

I inserted some animated pie charts on my page, but I wish the animation was only started when the DIV that contains these graphics was displayed on the screen, would anyone know how to do it? The following animation should be started when th...
asked by 31.10.2017 / 22:00
0
answers

Dynamically change video URLs within the Lightbox window

Hello, my question is about dynamic video url change. When I click on a function (openlightbox) opens a lightbox window, and within that window I need to open video dynamically, today it opens a static. I have two segments (car and motorcycle...
asked by 31.10.2017 / 21:19
0
answers

How to enable input text with input radios? [closed]

I'm not sure how to do the JS function to enable the text field with the input radio. How can someone help me? @foreach($p->telefones()->get() as $key => $t) <div class="col-md-6" id="telefone_div_{{($key + 1)}}"> <div...
asked by 31.10.2017 / 19:03
0
answers

How to use ng-repeat inside the ui-carousel library?

The carousel works, but I'm not able to do ng-repeat within the policy, how could I solve this? In the controller I have the collection: $scope.steps = [ {id:1, text: 'nnoonon 1', current:1, collection:[]}, {id:2, text: 'nnoonon 2',...
asked by 02.10.2017 / 21:36