Questions tagged as 'javascript'

0
answers

Change color according to music beat

I'm creating a Music Player and I need the frequency bars to change color according to the strongest beats. I was able to do this link but it is very fast.     
asked by 07.11.2017 / 00:03
1
answer

JavaScript Function Can not read property 'value' of null

I created a function in javascript, and it works when the field txtDiaVencimento is filled, however not always this field will be filled, when it is not filled it returns me the following error:    Can not read property 'value' of null He...
asked by 26.10.2017 / 13:40
1
answer

Select for card expiration

I wanted to make two fields select one for the month and another for the year to use as validity dates of a card, but wanted it to be generated dynamically and that when selecting the year of 2017 for example appears only the months that are mis...
asked by 07.11.2017 / 16:51
0
answers

Include two while loops in a jQuery structure for the game JokenPô

                Firstscreen-Enteringtheusername Second screen - User clicks the image corresponding to the option and then the comparison is made I want to put two loops while. The first while loop is in case there is a tie. If there is, the...
asked by 02.11.2017 / 18:57
0
answers

Close side nav by performing the page scroll function

https://pt.stackoverflow.com/posts/252168/edit# section{ height:100vh; width:100vw; } #a{ background-color:black; } #b{ background-color:red; } #c{ background-color:green; } #d{ background-color:blue; } <!DOCTYPE html>...
asked by 03.11.2017 / 15:30
0
answers

How to find out the density (PPI) of the image?

I have seen several people with the same doubt, but I have not found anything solved. If you open an image in GIMP and / or Photoshop and click Resize Image you can find out the resolution of the image and I want to do this, ie I want to figu...
asked by 03.11.2017 / 15:02
1
answer

Best way to store a JSON

Hello, I get a json on this template from a request { "alunos":[ { "ID":"1", "Nome":"Pedro", }, { "ID":"2", "Nome":"Lucas", }, { "ID":"3", "Nome":...
asked by 08.11.2017 / 20:07
2
answers

JSON created with PHP pass to JAVASCRIPT

PHP le a CSV file and generates a JSON require __DIR__ . '\autoload.php'; use League\Csv\Reader; $arq = __DIR__ . '\arquivos1111019050.csv'; $reader = Reader::createFromPath($arq, 'r'); $records = $reader->getRecords(); $tmp = new SplTempF...
asked by 08.11.2017 / 18:48
1
answer

Array to store input values that are within a

I'm having trouble making a jquery array with "each" to save the input values contained within a list, in the following format: Note: In the list of questions, each question has a sublist with the alternatives. <ul class="questoes">...
asked by 08.11.2017 / 20:08
2
answers

Change the color of a word in a textarea still in edition

How do I make it every time the browser finds a "reserved word" in textarea , it automatically changes its color. I want to know to make a syntax highlighting.     
asked by 18.10.2017 / 00:47