0
votes
1answer
17 views

Using this(class object) inside click event function

I have a click event over a button, I have to pass this class object to call a function inside click event.I requirement is following $(this).on('click', function(){ this.callFunc(); }); For ...
1
vote
3answers
41 views

Avoid duplicate record from dropdown Javascript PHP

I have a code like this <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html ...
0
votes
0answers
27 views

after the pop up closes it should go to particular tab

I have a js functionality without filling the form fields if i click the next tab the pop up opens up.. when i click the save and continue button in pop up it will go to second tab.... but after i ...
0
votes
1answer
66 views

on tab click it should come to that particular page

I have four tabs in my html... when i click the third tab a pop up opens up... after i click the ok button it should go to the fourth tab... but its not going to fourth tab instead its going to third ...
0
votes
1answer
20 views

Difference between dojo/on and dojo/aspect

In the dojo javascript library, dojo/on and dojo/aspect are used as functions that listen to events. However I don't see how they differ from one another. Can someone explain when you would use on ...
1
vote
2answers
26 views

Parent's Reference to Child Window Breaks upon Child Form Submit

I have an application containing a Javascript view model controlling it. The application launches a new window with (window.open()) and assigns 'click' event listeners to buttons in the new window. ...
0
votes
2answers
33 views

How can I close the browser window after redirecting to an MS office(word,excel, powerpoint) document automatically opened?

In the web application I am working on, we have some long-running processes that are in charge of getting office documents. We basically open a popup with window.open which takes care of polling the ...
2
votes
2answers
49 views

How to record timing for keypress event?

I am trying to build a small script that shows, on call back, when I press key q then after one second I press w it should show q and w obviously, BUT When, I press q and then w not at the same time, ...
0
votes
6answers
54 views

Detecting key press sequence in Javascript.

I have above script, CheckFiddle or below <script type="text/javascript"> function check(e){ var text = e.keyCode ? e.keyCode : e.charCode; switch(text){ case 81: ...
1
vote
0answers
19 views

DOM Events - Progress Indicator for Iframe location change

I am looking for a solution to show a progress indicator when an iframe page changes, but prior to the iframe loading completely. There are 100's of pages on stackoverflow going over the differences ...
0
votes
1answer
9 views

window.open losing control in click event handler in firefox

I'm trying to open a new window using window.open, in an event handler for a click event: var onButtonClick = function() { alert('start'); window.open('http://www.google.com', 'goog', ...
0
votes
3answers
32 views

how to do Date Comparision in javascript?

I need to create the javascript Function based on Date Comparison.which means,To compare the Currentday with Currentday+7. function a(value) { //here how to get current date //here how to ...
1
vote
0answers
26 views

keypress event and offset in DOM contenteditable paragraph element

This is a follow-up to this question about contenteditable and rich text editing. I'm using HTML5 & Javascript in a recent Firefox (21 beta 7 on Linux). I want a content-editable <p> ...
-1
votes
0answers
31 views

tab redirect after i close pop up

I am working on js of a spring framework... there are four tabs... each tab contains several form fields... if I don't fill any field and click the next tab a pop up will appear... there will be a ...
2
votes
1answer
55 views

remove a previous stroke (make a temporary line) - Javascript / HTML5

I am trying to make a simple paint application and I want the lines to sort of preview the line after you specify a lines start point. The corresponding javascript is like this: var Edges = new ...

1 2 3 4 5 436
15 30 50 per page