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, ...

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

-5
votes
0answers
23 views

How do I pause my game?

I have added this pause function to my game: function pauseGame() { if (!gamePaused) { game = clearTimeout(game); gamePaused = true; } else if (gamePaused) { game = ...
0
votes
0answers
11 views

Jquery get the total position from a id

I want to set the focus position on a variable #id after a AJAX reloading the content within a container. The container itself has a overflow:auto; in it so I get to see a scrollbar if the content is ...
0
votes
0answers
2 views

grails remotefunction: can't access params

I've got a remoteFunction call in a javaScript function in my GSP file: function fnCreateEntitiesPerForceChart() { var interval = $("#entitiesPerForceTimeIntervalSelect").val(); interval ...
0
votes
1answer
25 views

jQuery click event on disabled checkbox not firing

I have a list of checkboxes and i'm trying to limit to 2 maximum checkboxes by disabling all unchecked checkboxes after 2 have been selected. This works fine, but i'm trying to display a message to ...
0
votes
1answer
7 views

Javascript - finding a particular form from a mouse change event

I have a webpage with 4 separate pulldown option forms and I have an javascript function that gets invoked when any of the forms gets changed via the mouse. How do I establish which specific forms ...
0
votes
0answers
3 views

HTML5 videos as splash screen for Sench Touch iOS App

I wants to show a HTML5 video as splash screen for Sench Touch iOS App. I am using following code: Index.html: <video id="splashScreen" autoplay="autoplay" width="100%" height="100%" ...
0
votes
1answer
18 views

Unable to figure out whether to use “,” or “+” in console.log in node.js

This is the config.json file: { "username": "myname", "api-key": "test", "name": "testname", "version": 1 } This is the node.js file var fs=require("fs"); console.log("Start"); var ...
0
votes
0answers
5 views

execute google image search several times in a page

I want to write a web page which can generate images get from google search dynamically. The search terms for these images are different, so I need to execute google search several times, while I ...
0
votes
1answer
22 views

objects unable to change its own member's values

I have created object type a which has member x and y, also some functions changing the members' value. I have seen the members been changed in debugger. But none of the members are changed. Can you ...
0
votes
2answers
31 views

jQuery .click on TD not firing

So I'm just trying to get a message box to pop up when I click a cell in my table. I have seen many threads about $("td").click(function () { etc, but these are not working for my table. I cannot ...
0
votes
0answers
20 views

Unwanted border around background image div

I am getting a slight line or border around my background image. I am dynamically changing the height of the parent div via javascript so that the inner div (which has the background image set) will ...
0
votes
1answer
17 views

Jquery how to give direction using show effect for multiple divs?

i have a problem with some Jquery code, Im trying to show some fields in a form, but they have to appear only if the user click on Yes and hide when he clicks No , this works but when it shows the ...
0
votes
0answers
41 views

What's wrong with this javascript programming approach? [closed]

Helllo people I'm now developing an instant messaging system but I'm a little confused : I can't decide which approach do I have to choose! Here is a code and I want you to tell me what is good/bad ...
2
votes
0answers
9 views

Angular.js and DAO pattern

First of all I must admit I am quite new to Angular.js and I haven't used any new generation js framework like Backbone or Knockout before. I'm creating an application which communicates with server ...
0
votes
0answers
11 views

Two DataTables in one page - how to scroll just one of the tables?

I have two DataTables in one page initialized as follows: //First table sListTable = $('#subListTable').dataTable({ "sScrollY": "265px", "sDom": "frtiS", ...

1 2 3 4 5 24415
15 30 50 per page