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
27 views

Pass variables between different .js files

I have 2 .js files in the html document like this: <script type="text/javascript" src="js/1.js"></script> <script type="text/javascript" src="js/2.js"></script> That ...
0
votes
1answer
27 views

Set img src of another page using javascript

I am trying to change the src of an image using javascript. The image and the javascript function are in different html pages. The javascript function is given below <html> ...
0
votes
0answers
16 views

Getting an Error Code: 0 in only IE for javascript file

Im using a Drupal 7.22 installation for my website. I keep getting an error in IE for one of my JS files. The error in IE states Line: 32 Error: Not implemented This issue only occurs in ...
0
votes
2answers
15 views

Using payPal button - user can change the price before paying

I have 3 items that I selling on my web site, I dont need to have shopping cart or stuff like that. After the user fill form with data, I navigate him to a new page, where I display all the data he ...
0
votes
0answers
4 views

AddThis Menu Options Broken

Our company's website has been using AddThis for social sharing buttons for quite a while. Recently they stopped working - we aren't really sure when. All we know is that the menu items trigger their ...
0
votes
2answers
29 views

IE8 .click() gets terminated before request is completed , works on chrome and FF

I have a working function that submits a searchString on submit. It works well on FF and Chrome. And when i click the search button it works on all browsers. The problem lies when i call the .click ...
0
votes
0answers
13 views

How to detect class changing by DOMAttrModified

I need to detect some class changing, i use for this DOMAttrModified, but something is wrong, what? var first_img = $('body').find('li:first').find('img'); ...
-1
votes
0answers
12 views

canvas flood fill algorithm

I try to create a paint bucket tool for a canvas paint application. So far I wrote a code that replace the bunch of one-color-pixels (picked by user), but (I can't see why) not all of them... Could ...
0
votes
0answers
13 views

jQuery SlideUp Flicker

I'm working on a website for a friend using Cargo Collective: http://cargocollective.com/joaocanziani I'm having some issues with a dropdown menu that uses 'SlideUp' and 'SlideDown'. I have read a ...
0
votes
1answer
19 views

Using javascript to analyse image level of contrast

I'm wondering if it is possible to analyse an image from an api call to find out if the image has a high or low level of contrast. I know there is resemble.js which finds the differences between two ...
0
votes
0answers
3 views

BarCode generator for InDesign server

I´m looking for a barcode generator that needs to work both in InDesign and InDesign server. Workflow: A barcode will be created in InDesign with the PlugIn. A web user shall have the ability to ...
-2
votes
1answer
17 views

Get input text field from HTML into JavaScript and go to URL

How get input text field from HTML into JavaScript and go to URL? I'm building one WebPage where you type some word into the input field and the Java gets this string and check if this string is ...
0
votes
3answers
44 views

Adding item to a json object

I saw many questions in Stackoverflow but i didn't find what exactly responds to my query. I need to add an element to my json object: var JSONObject = { "shape0": { "id": "id0", ...
-5
votes
0answers
61 views

Array vs 'for' loop (javascript) [closed]

I'm new to JavaScript and I'm having trouble understanding this sample code for a Q&A mobile app. The following code is for the question page of the mobile app: for(var i = 0; i < ...
-4
votes
2answers
36 views

document write @ sign doesnt work

I can write like that: <TD class="br" align="middle"><xsl:value-of select="@StepNum" /></TD> however when I want to call a function with document.write() "@" sign does not work. ...

1 2 3 4 5 26256
15 30 50 per page