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
3 views
Windows Phone 8: Launch an app from a webpage
Is there a way to launch a windows phone 8 app from a webpage? So the use case is, a user uses his/her win 8 phone and navigates to a webpage, would it be possible for the webpage to check if the user ...
0
votes
0answers
3 views
Get a date object from timestamp in JavaScript
I have a timestamp (var time) which contains a string in this format: Sun, 21 Jul 2013 10:24:35 -0400 and I need to extract the information from it. I have to turn it to a Date object. However, when I ...
0
votes
1answer
16 views
link not appearing on hover using jquery
I want to make a div visible when hovering another div. Now, I know this can be implemented using simply jquery but its not working. I am populating a list using javascript as given below :
function ...
2
votes
0answers
7 views
How to compare (contents of) color objects retrieved from HTML5 canvas via ctx.getImageData()
I'd like to compare (a limited number of) color values retrieved from an HTML5 canvas. So I retrieve and store what I'm interested in by ctx.getImageData(x, y, 1, 1).data;
I then tried to use the ...
1
vote
1answer
9 views
Javascript Inline and External Script difference
I need some help, I am currently porting all my internal scripts on my website to a single js file to speed up my website according to the Google and Yahoo page speed recommendations.
I have the ...
0
votes
0answers
12 views
How to run the same specs several times for each startup config
Jasmine is my favorite testing javascript framework. So far I've wrote specs without any problems.
But one day I've decided to extend my application (it's just simple mind-map tool) with several ...
0
votes
0answers
7 views
CoffeeScript fill array after calling method
I'm a bit new to CoffeeScript and I have a question regarding the filling of an array.
Here's what I have :
view.php :
$(function () {
comment_instance = new window.CommentList();
});
...
0
votes
0answers
6 views
HTML5 Canvas - What is the proper way to use save & restore?
First off, I realise I could solve this problem by just using some library which already solves this very same problem, I want to do this to get a better understanding as to how HTML5's canvas works. ...
0
votes
1answer
20 views
How to select div whith jquery from inside another div
so I have this html:
<div>
<div>
<a class="member-img" href="#" >
<img src="image.jpg" alt="member">
</a>
</div>
<div ...
0
votes
2answers
19 views
How to get all text from all textboxes with class txt_Answer
<table id="tb_Answers">
<tbody>
<td>
<input class="txt_Answer" placeholder="Enter Answer">
</td>
<td>
<td colspan="4">
...
0
votes
0answers
13 views
javascript generator value of this
What is the value of this in javascript generators in javascript?
In the below code, both comparisons return false, and when I do a .toSource(), this appears to be an empty Object. References to the ...
0
votes
1answer
32 views
Little box where I could write in
I would need to use a little textbox in order to write in and to get the value but without creating a window. (In which I would have created a textbox element)
I would need something like the alert ...
1
vote
2answers
16 views
cursor styling in for flot pie chart
I was using flot pie chart(http://www.flotcharts.org/flot/examples/series-pie/index.html) example and succesfully drew the pie charts. While styling the pie chart, I was able to find the options for ...
0
votes
1answer
14 views
Dojo equivalent of the following jquery code
I am working on a project that I wanted to use jquery for, however it's come to light that it is mandatory to write in dojo, I've never worked with it before and am having some trouble reading up ...
0
votes
1answer
20 views
Javascript files getting corrupted automatically
A strange thing happening to my system,
My JavaScript files are getting corrupted automatically. like this:
�������������������������������������
I have never touched the file which are getting ...