Hallo,
ich bin am Testen einer ASP.NET(2.0)-Anwendung; unter IE und Firefox läuft es sauber.
Das Problem ist Safari. An der Stelle, wo javascript mit __doPostBack wird Script nicht ausgeführt.
z.B.:
<a class="ctl00_MainMenu_1 ctl00_MainMenu_3" href="javascript:__doPostBack('ctl00$MainMenu','Postbox')"><img src="images/postbox_off.gif" alt="" style="border-style:none;vertical-align:middle;" /></a>
<script type="text/javascript">
<!--
var theForm = document.forms['aspnetForm'];
if (!theForm) {
theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
// -->
</script>
Woran liegt es? Was kann man da ändern?
Gruss und vielen Dank voraus,
Boris