Questions tagged as 'javascript'

0
answers

V-Model giving problem in Components

Hello, I'm new to VueJS and I'm doing a chat following a tutorial. In the tutorial the teacher inserts a v-model into an input into a component and it's all right. When I do this, the component is not rendered on the screen, and the console resp...
asked by 30.10.2016 / 06:58
1
answer

go through array and insert jquery line break

This application does not work as expected. var storeElements = [];     var store = []; $('body').on('click', 'a.add_aluno', function () { var aside = $(this).parent().parent().children('aside'); $(this).parent().parent().append('&...
asked by 29.10.2016 / 02:24
0
answers

PHP and Javascript - Yes and No options in Confirm popup

On my site, I have an event query section. Within this section, I added a CANCEL EVENT button. When this button is clicked, it performs the following function in javascript: function cancelaEvento(val){ var valor = val; if (confirm("Te...
asked by 31.10.2016 / 14:34
1
answer

Javascript script help SyntaxError: missing; before statement

Good night, I'm having trouble making if / else if / else conditions in javascript, in the course of js codecademy works, but when I try to do some algorithms in the sublime using the conditional, it gives the error described in the title. p> &...
asked by 18.03.2016 / 05:16
1
answer

Iterate collection of objects within another

Well, I have a json where I wanted to iterate but inside it there is another one that also wanted to iterate var json = { "categories":[ { "id":1, "name":"Best Seller", "childs":[ {...
asked by 16.03.2016 / 19:17
1
answer

Help with mongoose

Not understanding what happened: ready = function() { groups = mongoose.model('groups', schemas.group); groups.find({}, function(err, docs){ for(i in docs){ console.log(docs[i].name); } return docs; }); } console.log(r...
asked by 19.03.2016 / 05:28
0
answers

Refresh page defaul or index .aspx in the browser

Hello. I modified the default.aspx page on my site hosting but the browser continues reading the old default.aspx (which is in its cache). This will probably happen in my clients' browsers. Entering the site address (www.mysite.com) loads the pa...
asked by 05.08.2016 / 23:28
0
answers

Jquery ajax does not work on mobile device only works on desktop version

In the following situation, my login form is working perfectly on the desktop version, I went to test on android and on ios it does not work and does not give an error in the console ... just wait for the api .. my javascript file $(function()...
asked by 06.08.2016 / 01:37
1
answer

I can not show my instagram feed

Good afternoon friends, I do not understand why my page does not show my instagram feed, can anyone help me? This is the error presented: Instagram: The access_token provided is invalid. JS code $(function() { //Set up instafeed...
asked by 05.08.2016 / 22:11
0
answers

How to make the menu stay fixed at the top from when you just passed the previous div (which is in percentage)?

.banner1{ background-image: url(../images/bannertemplates.png); background-repeat: no-repeat; width:100%; height:100%; background-size:cover; background-attachment: fixed; position:absolute; align-items: center;...
asked by 21.08.2016 / 18:32