Tagged Questions
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.
0
votes
0answers
8 views
can we generate Gauge charts using canvas tags…?
As Part of my project we have generated GAUGE CHARTS dynamically using svg tag..
Here im adding the url for dojo Gauge charts documentation which we have used:
...
3
votes
0answers
12 views
How to detect one element sitting on top of another
I have this situation:
I need to detect situation when element sitting on top of another. This is SVG elements:
<circle r="210.56" fill="#1ABCDB" id="01" priority="4" cx="658" ...
0
votes
0answers
23 views
PHP AJAX JQUERY load page
I'm using the code below to load the results from a database query in a php page:
<a href="results.php?item=itemId">click me</a>
$('.item > a').click(function(){
var url = ...
-2
votes
0answers
8 views
How can i make timezone map with html+javascript
I'm designing a map like this one on this link: http://www.timeanddate.com/time/map/. In this map, each of red dots and grey shaded areas popping up when mouse-over the red dots- are in separated ...
0
votes
0answers
10 views
CSS : Collapsing navigation, one element at a time
Collapsing navigation, like the one you get from Twitter Bootstrap, is a "all or nothing" approach which either shows all or hides all navigational elements.
However, is there a way to hide ...
0
votes
1answer
17 views
_.isFunction(a) vs. typeof a === 'function'? javascript
I think it might be only performance case - http://jsperf.com/comparing-underscore-js-isfunction-with-typeof-function/2
And seems that typeof is faster.. so my question is - which is more appropriate ...
0
votes
1answer
11 views
html5 multiple canvas wont overlap
New to HTML5 game development.
I am trying to overlap 2 canvases on each other. #canvasBG and #canvasJet.
This should be working im not sure why it isn't.
my html
<button id="clearCanvasBtn" ...
0
votes
0answers
6 views
calling external api with AngularJS and ngResource
we are currently developing a little AngularJS project and starting from the frontend, so pure HTML and JavaScript.
However, we need to make some API calls using ngResource. At the moment we are ...
0
votes
0answers
6 views
Using Foundation 4 switch with Flowplayer HTML5 video tags
I'm trying to use Foundation 4's Switch method with my Flowplayer html5 video embed.
I had previously been using switch successfully with JW Player 6 using the following method:
Calling the video:
...
1
vote
1answer
9 views
Enable a Rational class to handle math operators
I have this Rational class that has a method for each operation (add,mult etc)
function Rational(nominator, denominator){
this.nominator = nominator;
this.denominator = denominator || 1;
...
0
votes
0answers
17 views
How to calculate sub_total and total_price inputs on onkepress event + JS
how to calculate this cloned li s
<ul>
<li>
Qty<input type="text" name="item_qty0" id="item_qty0" class="item_qty valid" onkeypress="return calProduct(this);" value="1" ...
0
votes
1answer
10 views
How to call a defined function with parameters with keyboard short keys
I have a table in which i am getting data dynamically. In the table there is an edit button with each record like this
<tr>
.
.
.
//other columns
<td class="center">
...
0
votes
2answers
19 views
Close a Window with onmouseout
I'm trying to do a simple page that when you put your mouse over an a popUp appears, and when you put your mouse out of the window, it closes.
My code is quite simple, but doesn't work.
article ...
0
votes
1answer
14 views
Target specific tab with hyperlink from other page on same website
I've got a page (documents.php) that contains four tabs, the 1st tab is set as the default and opens when one browses to documents.php
I need to be able to target tabs 2, 3 and 4 directly from ...
0
votes
0answers
12 views
remove item from list AND list view completely- javascript
I have a winJS binding list which I add items to, in real time, using push notifications. This works fine.
var names_Array=[];
names_List= new WinJS.Binding.List(names_Array);
names_List.push({ ...