Because that's what cfform is.
You don't actually think there's such a thing as a CFForm outside of CF do
you? Or any CF tag for that matter?  CF tags are compiled into HTML tags and
sent to the browser.



On Fri, Sep 24, 2010 at 9:31 AM, Andrew Scott <andr...@andyscott.id.au>wrote:

>
> 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:337462
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to