Tell you what John. Why don't you zip up the files and send them to me?
On Fri, Oct 1, 2010 at 4:39 PM, John Pullam <jpul...@mcleansystems.com>wrote: > > I too am trying not to get frustrated. I appreciate that you are trying to > help and I suspect we are caught in semantics based on different technology > experiences. > > In any event, I have learned more about what Firebug can do and the > statement that should trigger the focus is in the code being sent to the > browser. At present it's inside the AjaxOnLoad function and the JavaScript > statement just before the HTML (calling LoginInit)should be triggering it: > > <script type="text/javascript">/* <![CDATA[ */ > ColdFusion.Event.registerOnLoad(LoginInit,{_cf_containerId:'Login_body'},false,true); > /* ]]> */</script> > > I know this works because I also have put an alert in there and the alert > fires (and have removed it as well). > > When I go to the original (which I believe is what you would like to see > there, I replace the AjaxOnLoad with: > > <script> > document.LoginForm.AccessID.focus(); > </script> > > It also shows up in the code sent to the browser but generates the run time > error: > > document.LoginForm is undefined > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:337764 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm