All Questions

1
answer

How to convert jQuery .on function to pure JavaScript

Today I started trying to transform a function that I'm using in jQuery (which @ Jose helped me implement in this answer ) to .on , for pure JavaScript, but I'm facing some difficulties. The online courses I have already done did not addr...
asked on 11.06.2015 / 02:34
3
answers

Method Object.values () does not work in internet explorer 9

Personally I have a problem. In a javascript file we use the Object.values () method that normally takes an object and returns an array. But on the internet explore 9 does not work. Could someone help? code example: var json = '{"6":{"dataI...
asked on 17.03.2017 / 12:29
1
answer

JavaSE with CDI and JPA - Error WELD-001303

I am studying JPA and CDI in a Java SE application. When I create the EntityManagerFactory I come across the error: Exception in thread "main" org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope t...
asked on 13.06.2015 / 22:58
3
answers

Calculate age by day, month and year

I'm trying to calculate the age by day, month, and year but I can not. I followed some examples but everyone goes wrong too. For example if the date of birth is 14/06/1992 this method returns 23 years and the correct one would be 22, it w...
asked on 15.06.2015 / 16:25
2
answers

Bootstrap input width using form-inline

I have a% bootstrap%, how do I control the input of input without losing responsiveness? Example w3schools form-inline bootstrap <form class="form-inline" role="form"> <div class="form-group"> <label for="email">Em...
asked on 11.06.2015 / 04:22
1
answer

How to change the font color of the application title

I want to change the font color of the application title Where is it written COMO ESTOU DIRIGINDO? how to do this?     
asked on 12.06.2015 / 21:16
1
answer

Help with logic

I have a method that reads multiple tags from an .xml file and returns a list populated by the read data. Problem: Each xml file has several batches and inside the batch has several tabs, for example, I have a client named Rodrigo and it is i...
asked on 22.05.2015 / 15:10
3
answers

Step in a cycle for

I want to put the values between -20 and 30 within a array , the part of a size that is 10. My problem is that I can put the values, but the size of the array gets with 11 values. max=30; min=-20; step=10; arr_text_y=[]; var calc...
asked on 23.05.2015 / 13:14
2
answers

iOS apps made in Phonegap can be compiled in Windows?

The Phonegap builder serves to compile the applications for you, but on iOS it makes an error when compiling. What does it take to compile on iOS using Phonegap builder? What kind of key do I need to compile it? I found this phonegap link: l...
asked on 27.05.2015 / 18:33
2
answers

Mysql, comment types

I had already realized that mysql may not even be the only case, but I would like an explanation on it to be more objective. I have several types of comments that are accepted: 1) -- ESTA LINHA ESTA COMENTADA ? 2) # ESTA LINHA ESTA COMENTA...
asked on 16.06.2015 / 14:04