I typically would use...

<form action="submitpagename.cfm" method="post">

<select name="selectboxname" ONCHANGE="form.submit()">

</form>

Jay



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 04, 2000 7:19 AM
To: [EMAIL PROTECTED]
Subject: OT: Onchange submit


I want a form to be submitted when the user makes a change in a select box.
The form name
is "Employeeform". This doesn't work:

<SELECT NAME="PayType" ONCHANGE="document.Employeeform.action='index.cfm';
document.Employeeform.submit()">

Why?

Gene Kraybill
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to