I'm trying to tell you that my earlier statement that I thought that inline javascript didn't fire when loaded via an ajax request was false. I did a test (using jquery as my ajax handler) and proved that I could set the focus to the AccessID field on page load. It seems there must be a problem with something in your code vs. a restriction in javascript or a browser. Since we know this now the only way to move forward is for you to post your code.
On Mon, Sep 27, 2010 at 9:06 AM, John Pullam <jpul...@mcleansystems.com>wrote: > > I don't understand what you are trying to tell me. I don't currently use > jquery so I can't really follow if you are doing something different. > > My case seems simple. I have inserted an alert (which fires) in the script > so I am confident that the JavaScript code is being executed, but it simply > isn't resolving the focus() ... is it perhaps trying to do that at the wrong > time? My JavaScript/firebug skills are not far enough along to be able to > understand the DOM when I look at it. But it seems to me that I've tried > every combo of id and name and of trying to access the field in my > JavaScript and still nothing. Can anyone suggest something I should look for > in the DOM? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:337574 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm