Questions tagged as 'javascript'

0
answers

How to make a tab control navigate open by my software with JavaScript and localStorage? [closed]

My question is how to do a tab control, open from browsing my software, with JavaScript and localStorage? For various reasons that does not come to the case my web software works with the opening of new browser tabs to each functionality that th...
asked by 11.03.2016 / 21:01
1
answer

Uploading 2 files via ashx

I have the screen below: Ineedtheusertoselectasongandacover,butI'mnotfindingawaytosendthetwofilesatonceandstillvalidateifMusicandCoverhavebeenselected.UntilthenIfollowedtheexamplebelow,butJSonlytakesthecontentofthe(upFoto)input,howeverIcreate...
asked by 24.11.2015 / 00:46
2
answers

I can not create notifications with the $ cordovaLocalNotification plugin using IONIC

I tried to do it based on the code of that site: link But when I hit the "Add notification" button this error appears: ionic.bundle.js:26771 ReferenceError: device is not defined at Scope.$scope.add (controllers.js:83) at fn (eval...
asked by 23.04.2016 / 20:48
3
answers

Effect on jQuery [closed]

How to make an effect in jQuery, that when using the SCROLL the divs and the elements appear in fadeIn, like in that site: link     
asked by 29.01.2014 / 19:01
2
answers

Doubt with Script - Display image according to Selection

I'm trying to make a select that changes the image according to the selected one, however I have two select types with their respective images that should appear according to the selection. The problem is that either I have both select to exchan...
asked by 03.05.2016 / 13:22
1
answer

Javascript - Combination of variables - Filter

I need a tip. I'm not a programmer, but I like to take risks by automating processes, I'm sorry if the question is too basic. I'm working with Google Maps API , and at some point I need to do a filter to target the contents of my InfoWin...
asked by 04.02.2016 / 15:05
2
answers

problems increasing decimal within loop for

var iniciaEm = 0; var terminaEm = 20; var variacao = 0.1; var s = ""; var str = ""; for(var i =iniciaEm; i<=terminaEm; i=i+variacao){ str += i; s += "<option value=\""+i+"%\">"+i+"%</option>"; } $("#teste").append(s); /...
asked by 10.05.2016 / 17:01
1
answer

add text to a textarea without deleting the existing one

I have a textarea (id = 'text'), which the user types his text freely (so far so good), at the end he clicks a button that inserts an example signature: "Typed by so and so." When it inserts this new text the old one is removed, I would like...
asked by 14.05.2016 / 02:52
1
answer

Objects in javascript

When working with objects in javascript, and with the AngularJS framework, where should we write the object code? For example, I'm going to create an object with something like this: var LogMessage = function(system, type, message, value, n...
asked by 10.05.2016 / 14:42
0
answers

WebSocket Html5 and Php? [closed]

A knowledge interest has arisen here to make real-time applications. I've seen a lot of articles here but I'm giving "pal" in the url I pass in js I'm passing it as follows: var socket = new WebSocket('ws://localhost:8000'); U...
asked by 01.08.2016 / 03:26