Click here to Skip to main content
15,894,405 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: get controls using name [modified] Pin
Sunasara Imdadhusen27-Oct-10 22:53
professionalSunasara Imdadhusen27-Oct-10 22:53 
AnswerRe: get controls using name Pin
moocr.com1-Nov-10 15:27
moocr.com1-Nov-10 15:27 
AnswerRe: get controls using name Pin
jaypatel51214-Nov-10 8:02
jaypatel51214-Nov-10 8:02 
QuestionHow to handle events in Pocket Internet Mobile Pin
Rahul Chitte26-Oct-10 22:21
Rahul Chitte26-Oct-10 22:21 
AnswerRe: How to handle events in Pocket Internet Mobile Pin
moocr.com1-Nov-10 20:36
moocr.com1-Nov-10 20:36 
GeneralRe: How to handle events in Pocket Internet Mobile Pin
Zhenjie Fu18-Nov-10 20:59
Zhenjie Fu18-Nov-10 20:59 
QuestionWhile Press "Esc" key ajax request and response is stopped in the browser Pin
PeriyasamyRamachandran26-Oct-10 18:40
PeriyasamyRamachandran26-Oct-10 18:40 
AnswerRe: While Press "Esc" key ajax request and response is stopped in the browser Pin
Jules VDV27-Oct-10 4:33
Jules VDV27-Oct-10 4:33 
Most browsers use the Escape key to cancel out of loading a page and I think it is probably also causing any other AJAX requests being processed to also be canceled by your browser.

As for stopping this default behavior, you could try preventing the Esc key's default action with the following:

//place in the window keydown event

//IE
e.cancelBubble=true;
e.returnValue = false;

//FF
if (e.stopPropagation){
  e.stopPropagation();
  e.preventDefault();

GeneralRe: While Press "Esc" key ajax request and response is stopped in the browser [modified] Pin
PeriyasamyRamachandran27-Oct-10 19:48
PeriyasamyRamachandran27-Oct-10 19:48 
GeneralRe: While Press "Esc" key ajax request and response is stopped in the browser Pin
Jules VDV28-Oct-10 3:54
Jules VDV28-Oct-10 3:54 
GeneralRe: While Press "Esc" key ajax request and response is stopped in the browser Pin
PeriyasamyRamachandran28-Oct-10 18:24
PeriyasamyRamachandran28-Oct-10 18:24 
QuestionDo not stop the Ajax request and response when "Esc" key is pressed Pin
PeriyasamyRamachandran25-Oct-10 22:15
PeriyasamyRamachandran25-Oct-10 22:15 
GeneralDisable Tabbed browsing using javascript Pin
manowj25-Oct-10 1:57
manowj25-Oct-10 1:57 
GeneralRe: Disable Tabbed browsing using javascript Pin
Steve Echols25-Oct-10 15:58
Steve Echols25-Oct-10 15:58 
GeneralRe: Disable Tabbed browsing using javascript Pin
moocr.com1-Nov-10 15:32
moocr.com1-Nov-10 15:32 
QuestiongetElementById not working in Windows Mobile 5.0 Pin
Rahul Chitte24-Oct-10 21:19
Rahul Chitte24-Oct-10 21:19 
QuestionUsing Google Analytics _trackEvent() Pin
BDMaruf24-Oct-10 3:53
BDMaruf24-Oct-10 3:53 
AnswerRe: Using Google Analytics _trackEvent() Pin
Md. Marufuzzaman24-Oct-10 3:58
professionalMd. Marufuzzaman24-Oct-10 3:58 
QuestionFind Gridview Footer Row Pin
SatyaKeerthi1522-Oct-10 1:27
SatyaKeerthi1522-Oct-10 1:27 
AnswerRe: Find Gridview Footer Row Pin
Steve Echols25-Oct-10 16:22
Steve Echols25-Oct-10 16:22 
Questiondom childNodes problem Pin
ekba8919-Oct-10 5:34
ekba8919-Oct-10 5:34 
AnswerRe: dom childNodes problem Pin
Gerben Jongerius20-Oct-10 2:45
Gerben Jongerius20-Oct-10 2:45 
GeneralRe: dom childNodes problem Pin
ekba8920-Oct-10 8:41
ekba8920-Oct-10 8:41 
QuestionDocument.Write not working. Pin
thebiostyle14-Oct-10 14:54
thebiostyle14-Oct-10 14:54 
AnswerRe: Document.Write not working. Pin
Dr.Walt Fair, PE14-Oct-10 15:18
professionalDr.Walt Fair, PE14-Oct-10 15:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.