Try this event handler:
<cfformitem type="script">
function goto_login():void {
username.setfocus();
}
<!--- other AS code goes here --->
</cfformitem>
>I have built a few Flash Forms, and I would like to use the below code
>to have the cursor flash in the first form field. Is this
>possible.......or is their other code that might work, cause the
>following code does not work with my Flash Form.
>
><script language="JavaScript">
><!--
>document.login.username.focus();
>//-->
></script>
>
>
>Thanks so much
>
>Bev Larson
>National Security Technologies
>Data Management & Integration
>M/S ~ CF057
>702.295.1901 (work)
>702.630.9916 (cell)
>702.794.1845 (pager)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269311
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4