JavaScript is a dynamically-typed language commonly used for client-side scripting. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript). Unless a tag for a framework/library is also included, a pure JavaScript answer is expected.

learn more… | top users | synonyms (5) | javascript jobs

0
votes
0answers
8 views

Trick to give images a standard group size

I'm not sure where to start with this: I'm looking for a way to custom edit widths/heights on on line of photos, pretty much the exact same as here http://www.flickr.com/search/?q=flowers. On flickR ...
0
votes
0answers
6 views

Issuing cmd-like commands in Node.js

I was wondering if its possible to open files in their default viewer using node.js For instance, I can open a jpg on the command line by simply navigating to the directory and then typing the ...
0
votes
0answers
4 views

Highcharts: Stacking a column inside of another column

I don't know if highchart has support for this, I can't seem to find anything in my searched. But I would like to stack a column inside a column. I have 2 series of data: Daily Active Users (DAU), ...
0
votes
0answers
5 views

AngularJs-elasticSearch: page not updated

Hello, I'm still new in Angular & elasticSearch. My goal is to key in a new tweet , then after clicking on the add button: the tweet will be indexed in elasticsearch) and a table results of tweets ...
0
votes
0answers
26 views

jquery next () and setInterval ()

<div class='parent'> <div class='item'>1</div> <div class='item'>2</div> <div class='item'>3</div> <div class='item'>4</div> </div> ...
0
votes
0answers
11 views

javascript post data to the another server and can i get what the server returned

Is there a way to post data to the another server and then get what server returned? NOTE: yotube performs ajax search with the google's domain
0
votes
0answers
7 views

EXT JS : How to conditionally hide an item in combobox

I am trying to sort out below issue. I have a combobox which is associated with a dataStore which has 3 items. (a,b and c). I want to hide an item 'c' from the combo box but still want to pre ...
-2
votes
0answers
12 views

HTML app similar to Air Sketch

Is it possible to create an app similar to the iPad app Air Sketch using HTML and Javascript? The app to be developed enables the user to draw in a canvas on a mobile device and could broadcast it to ...
0
votes
0answers
9 views

Map resized image coordinates back to the original

So here is an interesting one (or at least I think it is). Turns out that I have two copies of the same image, the original and one resized to fit the window. The user then creates a polygon over ...
1
vote
1answer
5 views

Adding setTimeOut to Google Analytics Funtion

I'm having trouble passing Google Analytics parameters on link clicks. It seems that the problem is that the new page opens before the parameters are picked up. This leads to a red line in httpfox "ns ...
1
vote
1answer
17 views

Drawing along an equation of a line in HTML5 Canvas

I have a line [from (x1, y1) to (x2, y2)] on the canvas that acts like a gun. I want the bullet to travel in the direction of the line (gun). Let the bullet also be a line. I know that from x1, y1 and ...
0
votes
0answers
12 views

HTML5 iframe sandbox event on break

I'm building something and need to detect frame breakers. So far I've been able to stop them with the sandbox attribute, but I can't figure out how to detect that so I can log it. It's only going to ...
-1
votes
0answers
11 views

Implement selectable items Without jQuery-UI

i would like to know the best approach to make a selectable list of item without using the JqueryUI library(see here) in my project. I need this kind of feature to manage a playlist of musics and to ...
1
vote
1answer
21 views

console.log quit working in Chrome

I'm not exactly sure when it started happening, roughly the last week or so, but Chrome no longer seems to print my console.log statements. I've included a screenshot where on the console I type ...
2
votes
4answers
42 views

Comparison operators that I haven't seen before

I am trying to decipher the following line of JavaScript code: delay_start = (typeof delay_start_qs !== "undefined") ? !(delay_start_qs === "false") : true; Specifically the ? followed by the !. Is ...

15 30 50 per page