Questions tagged as 'javascript'

1
answer

Lateral Menu making call with Angular!

Personal I have a menu and I need to click on a link it appears a content, and when clicking on another link it hides the previous content and displays the new content selected, I am using Angular 1 for particularity of the project .. I have fol...
asked by 25.08.2017 / 16:39
1
answer

Change appearance when going through section

In this code below, I can make the item clicked change background-color , but I would like it to change without clicking, ie when I was passing through the corresponding <section> .    I know how to make it change with a cer...
asked by 26.08.2017 / 20:47
2
answers

OnClick JavaScript not working with "line break"

I am a problem, I get an information entered by the user in the database and put it in a button with onclick for the user to click put it in a modal so that it can edit, I can not put directly in the modal because they are several informatio...
asked by 25.08.2017 / 21:43
1
answer

How to loop and get the value of the keys in an object

I would like to loop in an object in order to capture the value of the key and the corresponding value. For example: var obj = { 'Name' : 'String 1', 'Age' : 'String 2', 'Key N': 'String N' } I would like to return something like...
asked by 27.08.2017 / 21:49
1
answer

How to return the function variable in Jquery

Hello, I would like to return the variable namedestate into another function. How do I do that? The variable returned in the Undereco is undefined. function retornaEndereco() { $('.informacoes-perfil-endereco').css('display','none'); v...
asked by 25.08.2017 / 22:26
3
answers

Error passing through Ajax Parameters for function in PHP class

Is the first time I try to pass parameters from the ajax to my function that is in a class in php, so I ask, why is not it working? searching the forum vi I could put data: { var1 = 'var1', var2 = 'var2', }, Ajax - Code has been fix...
asked by 26.08.2017 / 05:11
1
answer

Populating Var colors with bank data

Now you're populating just with a license plate, it should be something with my while. <!DOCTYPE html> <html> <head> <title></title> <!-- Ignite UI Required Combined CSS Files --> <link href=...
asked by 06.08.2017 / 15:42
4
answers

Fill value in combobox when clicking on checkbox

I'm doing a customer registration and it has a checkbox that fills an input with "OFF, leaves it as" READONLY "and needs to fill in a combobox with a value that is in the options. But I tried everything and I can not do it, could you give me a l...
asked by 06.08.2017 / 20:35
1
answer

Compare two object arrays?

I need to compare 2 arrays in Javascript, one that returns from one MongoDB query and the other comes from the email provider. The two comparison criteria are the email ID and the box to which it belongs, and the email will be discarded if th...
asked by 05.09.2017 / 19:08
1
answer

Route Error in Vue js

My App.Vue <template> <div id="app"> <router-view></router-view> </div> </template> <script> export default { name: 'app', data () { return { } } } </script> <style...
asked by 05.09.2017 / 22:58