Hallo Leute,
wollte wissen warum der IE den Code:
<html>
<body>
<input id="searchfield" type="text">
<script language="JavaScript">
<!--
document.getElementById("searchfield").defaultValue = "Suchen nach...";
-->
</script>
</body>
</html>
nicht ausführt? Opera, Firefox, Safari machen alle keine Probleme. Nur der IE (6 sowie auch 7!) zickt mal wieder. Ist die Variable im IE readonly???
Gruß,
GooGirl