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 (6) | javascript jobs

0
votes
0answers
2 views

fix error when passing string xyz-009 into javascript function

So I am passing a string into a javascript function. for example: function dothis(x,y,z){ something } dothis(year,month,"A10-009_xyz"); I know this has something to do with the way javascript ...
0
votes
0answers
4 views

youtube api current videoID in url / create links to separate videos

I've integrated a Youtube feed on my website through the API, but now I want to be able to link to each video separately. So whenever I click a video to play, it should change the url with the current ...
0
votes
0answers
16 views

PHP does not read my cookie set with javascript

Apologies if this question duplicates some other question, but I can't find one exactly like it in S.O. I am writing a remotely hosted app, the kind that runs when you put a javascript on your own ...
-1
votes
0answers
26 views

send array variable via ajax post request

I'm trying to process a form via ajax request. The problem is that I have an array variable inside the form and when I process it via serialize to be send via ajax it returns this: ...
0
votes
0answers
17 views

change double letters in string

I'm making (trying to make) a function which can return an array with the characters of a word. It needs to save some double letters as one in the array. I have an array which contains the double ...
0
votes
0answers
3 views

jQuery ddmanager documentation/API?

I just can not seem to get anything working with ddmanager. I am trying to create my own widget extending ui.mouse which will need to set up some things for the ddmanager so dropping will be handled ...
0
votes
1answer
13 views

accessing mutable variable in an event closure

I am trying to use the mousetrap javascript plugin to handle some key strokes in a similar fashion, so I thought to code them up as follows: var keys = [ 'b', 'i', 'u']; for (var i=0; i < ...
0
votes
0answers
16 views

How to hide & unhide with Javascript & CSS using a checkbox in Internet Explorer

I tried for days to get this to work in IE, and ultimately gave up by presenting the user with an alert window warning users that the form does not fully work in IE. Yet, people are still using IE ...
1
vote
1answer
8 views

How to fix TS2081 && TS2087 errors in TypeScript 0.9

Just need to fix this errors. If it helps this app uses AngularJS. TypeScript version is 0.9.0.0 /path/app/scripts/Application.ts(22,13): error TS2081: Supplied parameters do not match ...
0
votes
0answers
5 views

Greasemonkey add images and mouseover event in a loop

I am using Greasemonkey and JavaScript to modify a page. I have found all the external links and added a image before links, I want to add a mouseover event on images. I don't know how to do that in ...
0
votes
4answers
32 views

Why window.addEventListener does not work?

On the window.onload event, I would like a function to be called. If I define it as given below, the function does not get called. try { window.addEventListener("load", initialiseTable, false); ...
0
votes
0answers
6 views

How can i acess imageData from a renderTarget?

I'm a university masters degree student in Computer Graphics, I'm having difficulty using three.js to access the image data(pixels) of a texture created with a EffectComposer. The first composer ...
1
vote
2answers
13 views

How do I have an external widget load upon clicking on an li in a list?

If I have a list item like this: <li class="" id="view_ideas"><a href="#"><span>View ideas</span></a> And I want to have it load the following Get Satisfaction Engage ...
0
votes
1answer
24 views

How to trigger the enter keypress

I need to know how to trigger an enter key on an input. That is, in response to some other event (not a keypress), I need to trigger a keypress of value 13. (Clarification, I do not want to trigger ...
-2
votes
1answer
35 views

How to make my menu links clickable

I have the following page: http://pastebin.com/sJAN1jkk which contains a dropdown navigation menu, consisting of several unordered lists. The dropdown part of the menu, works without issue, the ...

1 2 3 4 5 26356
15 30 50 per page