Questions tagged as 'javascript'

1
answer

Game javascript in the cordova framework or phonegap

Good afternoon, I created a game for the web with javascript, I wanted to port it to android, after searching I found the cord or phonegap, which is pretty cool, but when I compiled the game for android the frame rate per second gets a lot low,...
asked by 08.03.2016 / 18:25
0
answers

How to send a notification even with the application page closed?

I want to send notifications from my application using the api notification of chrome even when the user is with the page closed. I saw this feature on many blogs, such as technoblog.net . It works as follows: User accesses the site for the...
asked by 16.02.2016 / 15:34
0
answers

Reload, Hyperlink

Hello, I'd like to know how to display the window.onbeforeunload message without the Prevent this page from creating additional dialogs option, for all ways to exit the page with for example, close the browser, F5, clicks on hyperlinks, ETC....
asked by 15.02.2016 / 11:56
1
answer

Click event is not working

I'm trying to create a dynamic object for a click event. Each time a page loads, the data that is saved in the database will be filled in on the front. The click event has the same rule as the event that checks if the element is checked as...
asked by 29.02.2016 / 17:39
1
answer

How to return a selected value in a select?

I have this checkbox: <select id="valores_confinamento" class ="form-control"> <option value="ceu" >Ceu aberto</option> <option value="galpao" selected>Galpão fechado</option> </select> And I wis...
asked by 14.02.2016 / 16:54
0
answers

Kendo UI - Multiselect with remote data source

I've been busting my head with the multiselect kendo UI >. Whenever I return the list with the information of my action , the plugin can not understand the information and returns me the following error: Cannot read property 'value' of un...
asked by 15.02.2016 / 14:04
2
answers

Window size scroll

Hello. Well, I'm new to the community so I'm sorry if something I write is not very clear. I would like to know how do I give a scroll of browser screen size, I want to divide the site into three, type an "anchor" effect only with scro...
asked by 02.03.2016 / 04:49
0
answers

Reactive Programming With MEAN stack

I'm thinking of starting to develop a social network similar to that of instagram, for learning purposes, using MEAN stack. I thought about my models: User: var mongoose = require('mongoose'); module.exports = mongoose.model('User', {...
asked by 01.03.2016 / 05:02
0
answers

Counter / Reset

The code below has a basic bet that: When I win it goes back to the base bet. When he loses he doubles the bet I would like your help to continue the same idea, but instead of multiplying the bet every time I lose. He make a count X of los...
asked by 08.02.2016 / 14:48
0
answers

Doubt with FindOne in AngularJS using MongoJS error when searching

Hello, I'm trying to do a search on the bank with this code using the mongojs findOne, follow code: app.get('/detalhesContato/:id', function(req, res){ var id = req.params.id; console.log(id); db.contatos.findOne({_id: mongojs.Obj...
asked by 05.02.2016 / 21:09