Questions tagged as 'javascript'

1
answer

Progress bar in Jquery

Well, I have a bar that works the following way, when my scroll is on top of the div of the bars they will start to fill up. I did the css, but I can not do Jquery, any tips? HTML: <label for="barra"><h2>HTML </h2><...
asked by 07.04.2017 / 17:01
1
answer

How to do one function inside another

Hello, I'm trying to make captions .ass run in a video, I managed to find this API , but I need to run inside the click a button, but when it arrives on the line x.onreadystatechange = function() it stops executing, how can I fix it ??...
asked by 08.04.2017 / 23:40
1
answer

Detect clicking elements in an array

If I have a div with id="banner-tooltips" , and within it I have n <span> tags declared in variables with javascript, how do I detect individual click in these span tags? var caixaTooltips = document.getEle...
asked by 22.03.2017 / 12:35
1
answer

input effect with jQuery

Well, I've created a very precise system and input with that of android, I've used CSS and jQuery. But I wanted to put a precise effect on the google lite material. Here's the example link: link I do not want to use the lite material bec...
asked by 21.04.2017 / 15:35
1
answer

Arrange array of objects according to one of their attributes

Well, that's how the title said, I wondered if I could sort how to sort%% of objects incrementally according to the value of an attribute given to it. Example: var objetos = [] var objeto1 {id:gerarId(), nome: nome1, idade: idade1} var...
asked by 22.04.2017 / 23:19
2
answers

Open document from the same directory in new window after submitting

In my directory I have the following HTML pages: public_html // Index.html // proof_protocol.html // protocol_menu.html On the "protocol_menu" page we have created a form. The goal is that after giving the submit in the form open the page "vo...
asked by 22.04.2017 / 00:28
1
answer

Accentuation problem in array generation with AngularJs [duplicate]

I'm having trouble printing the user's payment methods, they're being stored in my LocalStorage with the wrong accent: //PEGA$scope.formaspag(array2nolocalstorage)ECOMPARACOMOSCÓDIGOSDEFORNECEDORES_CONFIGURA_FRETEEIMPRIMENATELA$scope.array...
asked by 24.03.2017 / 14:28
1
answer

Pass value from select to route in laravel

I do not know much about web development and I'm kind of lost. I need to pass the id of a movie to a laravel route and I'm not sure how to get that value. <select class="form-control" style="width: 20%" onchange="" id="select" name="filme"...
asked by 11.03.2017 / 15:30
1
answer

How to automatically update time using strftime

I'm putting time and date on display on my site, I'm doing this: echo utf8_encode(strftime("%X - %m %B, %Y" )) ; But the time is static updating when I reload the page, I wanted to know how to make it update normally, as if it were a clock...
asked by 09.03.2017 / 21:39
1
answer

Translating, rotating, and scaling a rectangle

Imagine the following rectangle A and B lozenge: Rectangle A has the dimensions 4200 by 3000. The B lozenge has the maximum dimensions of 167 by 167, its sides having 98 by 98. Rectangle A is equivalent to diamond B, so I would like...
asked by 11.03.2017 / 16:15