Questions tagged as 'javascript'

1
answer

Failed to create Web Worker from local file in Chrome

When trying to create a worker var worker = new Worker('teste.js'); I get the following message:    Uncaught SecurityError: Failed to construct 'Worker': Script at   'file: /// C: /...../js/teste.js' can not be accessed from source 'null...
asked by 10.02.2016 / 18:14
1
answer

Save files in javascript array

Good afternoon, I have a question: I want to upload several images without having multiple inputs and without having to select all the files at once using the input file multiple. I was given the idea of throwing an array of images and in the su...
asked by 10.02.2016 / 18:50
0
answers

Size of kendo.all.min.js

I'm starting with kendo, but the first barrier is the size of it, the file kendo.all.min.js is on the way to 3mb, even enabling gzip on the server this reduces to 1.7 which is still quite large, apart from other css files even though it is also...
asked by 05.02.2016 / 03:21
0
answers

Facebook Authentication with Javascript

Hello, I have a problem while studying Facebook Login for JS. Testing the permissions, I went to my Facebook profile and removed the 'user_friends' permission. Upon entering the page again, it checks to see if I am logged in and checks the pe...
asked by 03.02.2016 / 14:43
1
answer

How do I click a link to activate a JS function on another page? [duplicate]

I want to click on the link on the first page, it goes to the second page and does the JS function, which is to show only what belongs to the sport of the link I want to click the link on the first page and go to the second one and activate...
asked by 30.01.2016 / 13:54
1
answer

Total Javascript calculation

Hello, this is the code that calculates my shopping cart, it works perfectly, but when you refresh the page in the browser, it returns to the starting price. That is, if you add 2 products it displays right, but when there is a browser refresh,...
asked by 03.02.2016 / 15:20
1
answer

Json misconfigures when requesting via angular http

I'm doing an add-on for Firefox and this is powered by json that comes from an ajax request, which I do via http's get method. When I print json by calling the direct address on the screen, it normally displays, but when I make the request fr...
asked by 26.04.2016 / 02:38
0
answers

Codeigniter + ProgressBar

Hello. I'm trying to develop a file upload system which at the post it generates and loads a progressbar according to the course of my file unpacking, reading and storage script in the database. This is the first time I'm messing with progres...
asked by 23.04.2016 / 15:20
1
answer

Send without giving Refresh and using onchange [closed]

I want to send without refreshing my page and using on change I am using the code below Form: <form action="" id="ajax_form" method="post" > <input type="text" name="resultado1" size="5" onChange="envia()"> </form>...
asked by 25.04.2016 / 06:38
0
answers

AngularJS - Forcing bind field input

Good afternoon guys! I read that by default AngularJS requires fields to have some user interaction to perform binding. how do I ignore this and send what I have in the input field, even without interaction with the user? Thank you. My JavaSc...
asked by 25.04.2016 / 21:11