Gary Samuels
asked on
Help with basic javascript syntax
Can someone tell me what is wrong with the following
<!DOCTYPE HTML>
<html>
<head>
<script type="text/javascript">
function TextInsert() {
document.getElementById("MyEdit").innerHtml="My new text!";
}
</script>
</head>
<body onload=TextInsert()>
<div id="MyEdit"> </div>
</body>
</html>
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER