hab jetzt mal ne neue seite gemacht und nur einen button und ein div layer rein.
es funktioniert bei mir aber trotzdem nicht... der alert ist 2 mal null
beim div faellt mir gerade auf schreibt er im html output kein id tag so wie ich es im asp code gemacht habe...
aber der HyperLink existiert...
hilfe???
HTML
<DOCTYPE>
<html>
<head><title>
hjhjh
</title><link>
</head>
<body>
<script>
show2();
function show2()
{
var lay = document.getElementById("lay");
alert(lay);
var elemo = document.getElementById("HyperLink14");
alert(elemo);
}
</script>
<form>
<div>
<input>
</div>
<table>
<tr>
<td>
<a id="HyperLink14" class="sub_navigation" href="%C3%B6j%C3%B6l%C3%B6.aspx">HERKUNFT </a></td>
</tr>
</table>
</form>
<div>
<table>
<tr>
<td><table>
<tr>
<td><a id="HyperLink1" class="sub_navigation" href="unternehmen.aspx">UNTERNEHMEN</a></td>
</tr><tr>
<td><a id="HyperLink3" class="sub_navigation" href="philosophie.aspx">PHILOSOPHIE</a></td>
</tr>
</table></td>
</tr>
</table>
</div>
</body>
</html>
Alles anzeigen