JavaScript (not to be confused with Java) 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 ...

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

0
votes
0answers
3 views

How to catch ObjectForScripting completed event?

I have an application in windows form . Webbrowser load some html and that html contains some Java script like window.external.JsFnCall("Hi Madan"); here i can able to catch that java script ...
0
votes
0answers
4 views

Projectiles only spawn when player is still

I have an odd problem I can't seem to solve. I have some code that spawns bullets and fires them in the direction the player is facing. It all works fine while the player is still and not moving but ...
0
votes
3answers
21 views

Object HTMLAnchorElement] has no method 'attr'

I want to prepend every menu item with URL present in the browser( have to do it because of some url redirecting stuff). But its giving error in the line mentined below. What am I doing wrong? What is ...
0
votes
1answer
14 views

jQuery jsonp not firing the success handler even with the valid json format

$.ajax({ url: url, dataType: 'jsonp', success: function(data) { //not firing at all console.log('success'); console.log(data); } error: function() { //always ...
1
vote
3answers
16 views

How to pass a parameter to the child window from parent window using window.open

How to pass a parameter to the child window from parent window in Java Script by using window.open. Please give me any idea. Thanks in advance
0
votes
0answers
3 views

button click event for Mathquill text editor: left/right/delete/redo/undo

I am writing code in javascript for a keypad using mathquill but i can not find way to use arrow key event using button(those I am putting on my html keypad e.g. Left, right, redo , undo , clear). ...
1
vote
1answer
14 views

Javascript onkeyup event(how to mention Arrow keys in my code)

I'm using javascript onkeyup event,i'm restrict only numbers and backspace and tab button. I need to mention Left right up and down arrow keys in my code... how can i mention in my code... please help ...
0
votes
0answers
7 views

How to handle failure of Jquery.get() using Jquery.when()?

I am trying to display the failure response of Jquery.get() using Jquery.when(). On the below code, .done() is called perfectly after successfull load. but fail() is not called if the .get() request ...
0
votes
0answers
8 views

How to add Font Family in Curved Text in Canvas html5

i'm Newbie to here, I am using curve text in my website and its working fine.Here my code for create curve text canvas = new fabric.Canvas('c'); Example = new CurvedText( canvas, {angle:0} ); ...
0
votes
2answers
12 views

Javascript- print out options from select menus

I am currently working on a javascript project that requires me to dynamically generate three drop down menus. I currently have everything working, but their is one last feature I don't know how to ...
0
votes
0answers
7 views

JavaScript youtube api to know any one how seeks slider mobile device?

my question is simple i have JavaScript for YouTube_api I want to write JavaScript that will let me know if any one have seeks the slider directly to end with out watching entire video of youtube . ...
0
votes
1answer
5 views

Unclear on melonJS use of callback

Following this melonJS tutorial, I'm stumped by a couple ways this callback is used (Scroll down to Part 2: Loading our level, you will see complete code) // Set a callback to run when loading is ...
1
vote
1answer
19 views

Implementing Function present in string

This sounds like preliminary question but I am unable to figure out a work around. I prefer not to use eval(). Below is my code var inputValue = 75; var functionName = ...
-2
votes
0answers
14 views

Weekly Timing selection from calendar

I want to design some sort of calendar which shows weekdays like monday to sunday. Now i want to use this for selection the timing of person availability. I want that if i start from Monday 9:00 am ...
0
votes
0answers
5 views

"Unable to attach the process. Another debugger might be attached to the process” issue while debugging javascript file?

I have an issue .. Currently im working on javascript file.. when I want to debug js file by using ie developer tool(F12) , It showing error : "Unable to attach the process. Another debugger might be ...

15 30 50 per page