This post is related to the issue of using javascript with asp.net form found here: http://forums.asp.net/p/1548840/3792524.aspx#3792524
I figured out that the issue I am having is not that the javascript cannot find the control but rather that the ajax frame I am using, for some reason does not allow me to find the controls.
Here is how I submit my form in VS 2008 which is working fine:
<form id="form1" runat="server" target="ajaxFrame" defaultfocus="userName">
The ajax frame below, is on the login page right before the body closing tag:
<iframe id="ajaxFrame" name="ajaxFrame" src="" style="visibility:hidden;"></iframe>
When the user clicks the login button, a ...
Go to the complete details ...