Advertisement

06.21.2008 at 05:56PM PDT, ID: 23505213
[x]
Attachment Details

Vista, IE7, and JavaScript return values

Asked by ARACK04 in JavaScript, Programming for ASP.NET, Windows Vista

Tags: ,

Does anyone know if there was a recent update to Vista that makes javascript functions no longer return values the way they should?  For some reason when I say  onkeydown="return blah()" inside of blah()

return false;  

no longer works, and I have to say:

try { window.event.returnValue = false; } catch(err) {}

I never had to do this before, and the normal way continues to work in IE6 and FF.Start Free Trial
[+][-]06.21.2008 at 06:52PM PDT, ID: 21839429

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.21.2008 at 07:03PM PDT, ID: 21839447

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.21.2008 at 07:16PM PDT, ID: 21839469

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.21.2008 at 07:35PM PDT, ID: 21839500

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.22.2008 at 01:50AM PDT, ID: 21840082

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaScript, Programming for ASP.NET, Windows Vista
Tags: JavaScript, IE7
Sign Up Now!
Solution Provided By: kGenius
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628