[Javascript] span section

Andrzej Wróblewski alfwro at wp.pl
Mon Nov 11 14:25:45 CST 2002


If I create a span section i the <body>:

<html><head>
<script>
var textToInsertSpan = "Some text"
document.spanName?????????????? = textToInsertSpan
</script>
</head><body>
<span name="spanName">
</span>
</body></html>

 how using JavaScript in the <head> section put text into <span> 
sect.? 




More information about the Javascript mailing list