Well then yes you did, but I have to ask why you said form, when he is using cfform?
Regards, Andrew Scott http://www.andyscott.id.au/ > -----Original Message----- > From: Michael Grant [mailto:mgr...@modus.bz] > Sent: Friday, 24 September 2010 11:34 PM > To: cf-talk > Subject: Re: Trying to set cfform focus in an Ajax window > > > I said form, not cfform. Cf adds onload to the compiled <form> tag, which > then proceeds to not work since <form> doesn't have an onload method. > > But don't take my word for it, try it yourself: > > <cfform name="myForm" onload="alert('my onload worked');"> <cfinput > type="text" name="myText"> </cfform> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337461 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm