JavaScript is a dynamically-typed language commonly used for client-side scripting, but (despite the name) is NOT related to Java. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript). A pure JavaScript answer is usually expected, except if a tag ...

learn more… | top users | synonyms (6) | javascript jobs

0
votes
0answers
10 views

Set Width using Javascript

I wish to set width of a RadNumericTextBox which is rendered as a input element on page using javascript. I have successfully set the width but the telerik controls have build in javascript functions ...
0
votes
0answers
3 views

KinectJS show and hide text on the image layer

If I have a image layer created , then how do I hide and show a text layer on to the image layer. So far I have created the image layer. And gotten it to shoe me the text layer but it deletes the ...
-5
votes
0answers
19 views

Javascript framework used to build Single page applications using MVC [closed]

Does any one of u can give the answer to above question? Javascript framework used to build Single page applications using MVC pattern(9 alphabets 5th is ‘t’)
0
votes
1answer
22 views

Show Hide div with css only

I'm trying to do a show / hide using css only, is that possible or does some type of jscript is needed? this is what i'm trying to do, when anyone one of the 4 div's are clicked the div for it below ...
0
votes
2answers
37 views

Why doesn't my Ajax function work?

I am trying to use a form to submit two javascript variables to a php script and return the output to a new Div on the same page via an ajax function. It doesn't work. here is my code ...
0
votes
1answer
5 views

navigator.app.exitApp(); results in “TypeError: Cannot call method 'exitApp' of undefined”

Cordova 2.0.0 The following API call doesn't work on Chrome browser, as expected; navigator.app.exitApp(); I'm getting TypeError: Cannot call method 'exitApp' of undefined My code is simply ...
0
votes
1answer
12 views

any option to reduce the mouse hover area

i am working on d3. and the problem which i am facing is that whenever i take the mouse pointer inside the graph it immediately shows the hover details. but the thing is that i am in need of showing ...
0
votes
1answer
13 views

Is it OK to put custom properties on element when the element is created by the plugin?

When I write a jQuery plugin, then create an element to which I need to attach some custom properties to it, is it OK if I do it directly? Like element.myProp = value; I know it's recommended to use ...
-4
votes
0answers
14 views

Cpp Template Class to Javascript

I need some help to port this C++ Template Class to JavaScript - hopefully somebody can help. template<typename T> struct vector3 { typedef T value_type; T x; T y; T z; ...
0
votes
2answers
36 views

jQuery - change doesn't fire when using bootstrap

I have a calculator that's using Bootstrap on my selects along with this extension: http://silviomoreto.github.io/bootstrap-select/ I have different texts in the options, but the value can be the ...
0
votes
1answer
24 views

How to change a HTML tag using JavaScript

Consider the following code: var element = document.CreateElement("div"); element.toString(); // [object HTMLDivElement] var element = document.CreateElement("somerandomtag"); element.toString(); // ...
1
vote
2answers
26 views

Close accordion alike div using jQuery?

I have this simple code which shows 3 items When I press the header ($(".fileHeader")) , it should open then next element which is the next element (hidden div) ($(".LST_Documents")) sketch : ...
0
votes
0answers
4 views

Safari- HTML form is getting submitted twice. How to prevent it?

i have the following code function submitSelf() { var adhocMainJspPane = getFrameObject('adHocMainJSPPane',openerObject); document.Form.action="something"; ...
2
votes
2answers
30 views

force wait in javascript

I want to force a function to wait 1 second before she continues after to do that in javascript . For example: function DoSomething(){ // wait 1 second //continue w.e is this function does. } ...
0
votes
0answers
5 views

How to use JNA code in Rhino javascript

How to use JNA coding in the Rhino javascript engine? I need to pass arguments from Javascript (Rhino shell) to a c function, and the C function shall return the result to the Javascript.

1 2 3 4 5 25992
15 30 50 per page