i found one similar problem here but i'm not sure how to apply it here, or if it can be.
the problem is that the asp:LoginStatus button is doing nothing; i can't log out.
the javascript error is:
TypeError: theForm.submit is not a function
theForm.submit();
which is coming from script that is injected by asp.net:
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['ctl01'];
if (!theForm) {
theForm = document.ctl01;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
i watched __doPostBack. eventArgument is not getting a value. not sure if that's the real problem though.
eventTarget : "ctl00$HeadLoginView$HeadLoginStatus$ctl00"
eventArgument : ""
any ideas as to why the asp:LoginStatus button is doing nothing?