would changing
        window.event && window.event.keyCode == 13
to
        window.event == 13 && window.event.keyCode == 13
help at all?

Ade

-----Original Message-----
From: Kris Pilles [mailto:[EMAIL PROTECTED]]
Sent: 01 August 2002 15:28
To: CF-Talk
Subject: Onkeypress


function entsub() {
  if (window.event && window.event.keyCode == 13)
    returninfo();
  else
    return true;
        }

I am using this on a form to allow pressing the enter key to call my
function returninfo()

However, if the user hits enter and nothing is selected in my select
box, I get an error... Any ideas on how I can correct this???

-----Original Message-----
From: Alex Hubner [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, August 01, 2002 9:25 AM
To: CF-Talk
Subject: Hack Proofing ColdFusion


Hi folks,

Does anybody knows where I can find the e-book version of "Hack Proofing
ColdFusion" (Greg Meyer, Steven Casco, Sarge, Rob Rusher)? I know that I
can find it at Amazon.com but I really avoid shopping there (personal
problems in the past)... I'm looking for other places but I only found
paper edition, not the eletronic one.

Thanks!!
Alex



______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to