hello
i think i made small mistake in the following code
but i dont know what it is exactly:

<script language="JavaScript">
function doType(id,typewhat)
{
    var doc=document.getElementById(id);
    doc.innerHTMl = typewhat;
}
</script>

could u plz help??

Simply you need to correct the line 5. You have to type the following instead:

doc.innerHTML = typewhat;

Just capitalize the letter "L" in innerHTML.

Also the script tag should be written as...

<script type="text/javascript"> ... </script>

The attribute language has been deprecated a while now.

Yes. Thanks for the note.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.