JavaScript is a prototype-based scripting language

learn more… | top users | synonyms

0
votes
0answers
4 views

setting javascript to work for particular amount of time on audio files

// Keyboard shortcuts $(document).keydown(function (e) { var unicode = e.charCode ? e.charCode : e.keyCode; // right arrow ...
0
votes
0answers
7 views

forwading and backwarding the audio file by 10 seconds

// Keyboard shortcuts $(document).keydown(function (e) { var unicode = e.charCode ? e.charCode : e.keyCode; // right arrow ...
0
votes
0answers
13 views

My javascript is not seeking the right amount of time on my audio files

I am able to play pause and stop audio files through the keyboard, but when I am seeking back and forth, I am using left and right arrow keys, and it is being seeking 15 sec. I need to do it for 5 or ...
0
votes
0answers
12 views

Mongo DB crashing a lot [closed]

How can I stop my mongo database from crashing inside the linux kernel? Here is my config: - true = false Here is my config: - true = false
0
votes
0answers
16 views

What could be making 404 error on files if they are in a folder called javascript?

I have a webserver running in virtualbox. I installed a LAMP stack and everything is working fine. Pages are served. But when putting files in a folder called "javascript" in my webroot I get 404 ...
0
votes
1answer
89 views

Can't install node-inspector in Ubuntu 16.04

When trying to install node-inspector with: sudo npm install -g node-inspector I had the following problem: node-pre-gyp ERR! Tried to download: ...
0
votes
1answer
13 views

How do I set Netbeans as the default for .js files

I have Netbeans 8.1 installed on my computer and works well as the default for php and css files but can't set it as the default editor for javascript files. Any ideas?
0
votes
0answers
52 views

Gnome 3.18 Panel Icon Size

I have upgraded to Gnome Ubuntu 16.04 and I see now that gnome 3.18 has panel icon size of 16px in size fixed. Since gnome developers in their brilliant move to compile gnome resources made the gnome ...
0
votes
0answers
15 views

jquery mousewheel event not working in laptop touchpad..?

for SVG animation, Using mousewhhel event scrolling works in desktop or any devices with help of mouse.. But scrolling is not working in laptop touchpad..
1
vote
0answers
21 views

Skype does not sign me in on Ubuntu 14.04

When I try to sign in to Skype, I get a message about a JavaScript problem. Here is a screenshot. I already tried re-installing Skype and deleting all lock files as well as shared.xml but the problem ...
0
votes
1answer
29 views

Error during setup of unity-js-scopes-tool

I am going to create a Scope for Ubuntu Touch with the Ubuntu SDK. I used this JS-Tutorial. So I did the installation process within a fresh installation of Ubuntu 15.10 in VirtualBox with the ...
0
votes
0answers
16 views

when i click item in the menu button it should enter the single page directly without refreshing page in single page using javascript

I want to create a program to where when I click an item in the menu bar it should enter the particular content in the single page directly without refreshing the page. I want to create this using ...
0
votes
1answer
65 views

Warning of “unresponsive script” in Firefox

I am getting warning in Firefox about Unresponsive Script for the last few days and all commands lock-up. The script is said to be: ...
0
votes
0answers
30 views

How to install MEAN JS on Ubuntu 14.04?

I have tried to install MEAN JS on my local machine by myself but it did not work. Has anybody experience with that or maybe know about a proved step by step guide? There are some instructions when ...
0
votes
0answers
12 views

Scope department not triggering refresh on click

I've added a department with subdepartments to my scope. It filters fine if I manually pull to refresh after selecting the filter, but it does not trigger by default on the selection. I wasn't sure ...
1
vote
1answer
36 views

How to pass phone number to phone application from scope

I'd like to be able to pass a phone number to the phone application from within a preview of a scope. Is that possible? Is it done with action widgets? Is there an example of this somewhere in ...
0
votes
1answer
74 views

Problem with Java and JavaScript

So tomorrow I'll be doing some labs for MySQL certification, and since in my country I can't get class training I had to choose Training On Demand (TOD) which is a good way to learn (You have recorded ...
1
vote
1answer
65 views

Problem with AngularJS and jQuery libraries in Ubuntu SDK - HTML 5 App

I'm trying to explore the "Ubuntu SDK" and just to test I made a "HTML 5 App". The app need to use angular library (such as: angular.min.js), jQuery library, and angular module for routing ...
0
votes
1answer
67 views

change thunderbird's icon while running

I'm searching a way to temporarily change the icon of an application (thunderbird in my case) while it's running. I tried a dozen of addons, but none if them did the job. Is there a way to code this? ...
0
votes
0answers
23 views

Error executing javascrit file through nashorn jjs

I can execute jjs on bash $ jjs jjs> but I can not execute script $ ./executable.js /usr/bin/env: jjs -scripting: No existe el archivo o el directorio executable.js #!/usr/bin/env jjs ...
0
votes
0answers
206 views

Google Chrome “--allow-access-from-files” mode does not work

I need to run a javascript code which accesses the file system (with file:// protocol) from google chrome. I have seen it can be allowed with the so-called --allow-access-from-files option as ...
0
votes
0answers
128 views

nginx configuration to serve index.html on root and allow flask API at server side only

I've been trying since a few days to properly configure nginx and flask, with poor success could you please debrief? First time I deploy my first flask app on EC2 My goal: expose the APIs to the end ...
0
votes
0answers
49 views

How to remove dots on sap.ui.commons.Tree TreeNode

I have been working with OpenUi5 Application Framework to develop applications, how i have manage to set everything up and i have been coding for a while. i had a problem when i strarted using ...
0
votes
0answers
42 views

Ubuntu flash drive meteor install

I am running ubuntu gnome off a flash drive and I sucessfully installed meteor on Friday. Now, Monday after rebooting ubuntu I cannot find meteor. How do you access meteor and the "myapp" I made? I am ...
0
votes
0answers
107 views

Bank opening javacript

Recently whenever I login to my bank (before I get to enter my password the page freezes for a while (say 15secs) and I eventually get this message in a box entitled ...
0
votes
1answer
111 views

Java Plug-in Crashed in Firefox 28.0 on Ubuntu 14.04 LTS

I just installed Oracle Java 1.8.0_51 .And set as it as by default.I also linked libnpjp2.so file in Mozilla folder in /usr/lib/mozilla/plug-in. But when I am going to verify java its show no java ...
0
votes
2answers
1k views

How to find Java log file

I have installed open jdk 7 in ubuntu & I have enable java logg option in java console. But I cant find the java log file as I tried my best.I have no idea what is the actual name of this log file ...
0
votes
0answers
44 views

What does “javascript:;” in the action attribute field mean?

I'm new to html automation and have been reading http://curl.haxx.se/docs/httpscripting.html . The action attribute should tell you where to send the request with your client, but, in case it is ...
0
votes
1answer
63 views

Cannot detect if a MouseArea is over a GridView item

This question is not specific for the Ubuntu platform, but as I am developing an Ubuntu Touch app, I'd like to ask first here. I have a list of UbuntuShapes arranged in a GridView - generated from a ...
1
vote
0answers
203 views

Bad installation of Uglify (Node-based JavaScript minifier)

I want to install Uglify in order to minify JavaScript files on the command line. Some sources say to install npm and then use npm install uglify-js -g. Some sources say you can just apt-get install ...
0
votes
1answer
48 views

Is it possible in Ubuntu app, start C++ function from javascript?

I have application using QML and C++ and want to start C++ function from javascript . Is it possible ?
0
votes
2answers
466 views

how to remove best-deals-products.com from firefox

When i try to load any web oage (askubuntu.com for example), noscript addon blocks some scripts from a domain called best-deals-products.com I've searched about this topic on duckduckgo and google and ...
0
votes
0answers
276 views

Intel XDK - Error when trying to consume Web Service from Explore Services panel

When I try to call any web service from the Explore Services panel the response is something like: undefined is not a function TypeError: undefined is not a function at ...
0
votes
0answers
73 views

Ubuntu SDK include error because of import [QML/JS]

Here are my files : SettingsController.js .import QtQuick.LocalStorage 2.0 as Sql var result=Qt.include("MainController.js") Qt.include("DatabaseDefault.js") console.log(result.status) ...
0
votes
1answer
129 views

What's the proper way of connecting a signal to a JavaScript method?

In an Ubuntu phone application, I need to perform some logic when an event occurs. Since I don't want to pollute the QML with too many lines of JavaScript, I made a class in an external file and I ...
1
vote
2answers
510 views

How do I setup a server side JavaScript

I keep hearing about how fast server side JavaScript is. I also have a project in which I want to use that tool. I tried Googling it, but could not find a simple and detailed tutorial on how to get ...
0
votes
0answers
17 views

QT Quick Test problem [duplicate]

I have a QML file and I want to test the function of this test , in this file I have some import like import ValueField 1.0 , import MyModule 1.0 and I need this imports So when I run the QT Quick ...
0
votes
1answer
42 views

unable to sign with digital certificate on portal

Please help to resolve mention issue we are using Ubuntu 10.04 and we have our internet portal that purpose we require digital certificate.we are using mozila 24.0. that certificate show in Mozilla ...
0
votes
1answer
281 views

Variable problem when using FB.api async calls with jQuery.when() [closed]

Trying to get data from several calls to FB into one array and operate with it when ready. Unfortunately. Script waits for response, but in any way I cannot access it later. var xxx = 0; // ...
0
votes
1answer
58 views

How to parse remote html in ubuntu touch app

I am trying to find out if I can port a python based programm to ubuntu touch. My program parses remote html pages for items and then saves or streams the given link locally. How do I parse a ...
1
vote
1answer
41 views

api for new and stable versions of Ubuntu

I am trying to build an automatic Ubuntu widget for my website, that displays the latest version and the next to be released version and the to be LTS versions. Right now at every new Ubuntu release ...
2
votes
1answer
294 views

Why XMLHttpRequest send only “server connection established” in readyState attribut?

I try to store the result of JSON webservice into a List view. I create my request in javascript but my readyState value is always 1 and never change. I don't understand what is wrong. This is my ...
0
votes
1answer
69 views

Openbravo login javascript not created

It's my first time installing openbravo. I did it on ubuntu 14.04 LTS. The problem is when I log in (for the first time), this javascript is not found GET ...
3
votes
2answers
2k views

QML - How to create QML Components properties so they can be set from JavaScript?

I am trying to create a component with certain properties I've set. The sounds location and name are given by a C++ function that is actually working because the console.log() shows so: qml: Adding ...
2
votes
1answer
221 views

Get exclusive lock constant? In ctypes it is O_EXLOCK [closed]

I'm trying to open a file with exclusive lock via Javscript. So the library to open is no sweat just the number to pass as unixFlags is a problem. This is syntax: OS.File.open('/path/to/file', ...
0
votes
1answer
242 views

14.04 update broke my ruttorent setup

I just updated my system and now my rutorrent isn't working. When I go to the web page, I get this error JS error: [http://192.168.0.36/rutorrent/js/jquery.js : 2] TypeError: a is null I googled it ...
2
votes
3answers
461 views

How to make /bin/ps, called with aux as its argument, write to a file?

Is there a command line argument I can pass to /bin/ps -aux to make it write its output to a file? edit: To resimulate my issue: Open firefox Enable developer preferences (or as shortcut install ...
1
vote
3answers
2k views

What all do I need with my Apache Server

I was wondering what all extra I have to install on top of apache2. My websites are running some javascript, css, and some jquery stuff. Does apache come with everything necessary to run a website ...
2
votes
2answers
1k views

Not able to see Kate Plugin for Javascript in Kubuntu

I installed Kubuntu 14.04 recently. I had heard about the Javascript related plugins(Pretty JSON specifically) being there in Kate setup. But it does not show up in any of the options. I am not sure ...
1
vote
0answers
48 views

Using applets from another distribution

There are several very useful applets from Mint Cinnamon which I would like to be able to use: http://cinnamon-spices.linuxmint.com/applets. I know how to write a shell script to start a Java ...