Tagged Questions
JavaScript is a dynamically-typed language commonly used for client-side scripting. It is NOT the same as Java, and has hardly anything to do with it. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript). If a framework or library, such as jQuery, ...
0
votes
0answers
2 views
Fineuploader fileState Type Error on cancel/cancelAll/reset
I am building some upload functionality into an app using FineUploaderBasic. All is well and good apart from when I try to cancel a file (when a condition is met during the onupload callback). I get ...
0
votes
0answers
2 views
emberjs nothing handled the event
I tried reproducing the search field like they display at emberjs.com however for some reason my code keeps producing the following error (in google chrome):
Uncaught Error: Nothing handled the event ...
0
votes
0answers
21 views
How to find index of li which doesn't have id?
Hi I am creating tabs in JSP using twitter bootstrap.
<ul>
<li id="first"><a href="#datacollector" target="main"data-toggle="tab">General</a></li>
...
0
votes
0answers
2 views
JavaScript TO Bean in SEAM + JSF 1.2
I want to save the variable "position" in my BEAN, does anyone know how to do this? I'm starting in javascipt.
function placeMarker(position, map) {
var marker = new google.maps.Marker({
...
0
votes
1answer
32 views
Getting JSON Object Values
So I have a JSON object that looks like this:
Object
maddiekeller: Object
rickbross: Object
firstname:"Rick"
lastname:"Bross"
firstname:"1234 Fictional Drive"
...
0
votes
2answers
30 views
Converting String to Array and back in Javascript
I simply have a huge array in a string like this:
"test", "blabla", "anothertest", "et", "cetera"
I need to be able to convert it to an array, preferable without the " "'s still left over.
I have ...
-1
votes
0answers
13 views
Overlay always active on all pages
I'm looking for a solution for a livechat popup-window.
This window should be implemented as a overlay, positioned to a specific place and it should be able to drag and drop as well, and if i change ...
0
votes
0answers
7 views
Invert / recreate chart issue in Highcharts 3.0
I'm working with an issue of missing series when inverting a chart with more than one serie. It worked before we upgraded to v3.0 of Highcharts. So the technique of "dynamically" inverting the chart, ...
0
votes
2answers
28 views
jQuery regex square brackets
The problem: I want to get all of the square brackets' content, and then to delete them, but only if the brackets are at the beginnig of the string.
For example, [foo][asd][dsa] text text text will ...
0
votes
0answers
24 views
Text Editor - JS
<textarea name="styled-textarea" cols="20" rows="10" id="textarea" onkeyup="outPost(id), colorCode()"></textarea>
javascript
if(document.getElementById("textarea").value == "<"){
...
0
votes
0answers
6 views
Is CFRunLoopTimer supposed to higher in #living column?
I'm checking the allocations of an app i'm working on for iOS and Android(With Titanium studio) and noticed that a CFRunLoopTimer is being highered every time my app sends a GPS location to the ...
1
vote
1answer
53 views
Web shooter game
I have project which is based on spring-mvc framework. Third person shooter game in web browser.
Three.js make display in web browser. JBox2D make all physics calculations.
My main question is:
...
-1
votes
0answers
25 views
How display array of images in html page using JavaScript onclick event
I am working on the creation of a gallery on an HTML page providing the following functionalities:
It will display gallery preview in a div where I am displaying the
image in small size.
I have ...
0
votes
0answers
7 views
Is there a way of saving an Image or a Video offline until the device is online again?
We're developing a webpage that will both work as a standalone webpage as well as be packaged in a Cordova app. Something we need to do is when the user has captured a video offline and tries to ...
1
vote
0answers
11 views
Colorbox maxHeight clips my images
I am using Colorbox to display high definition pictures on my site. Some of the pictures are portrait, some are landscape. I set the colorbox settings to have a maxHeight and maxWidth and it works ok ...