Showing posts with label writeText(). Show all posts
Showing posts with label writeText(). Show all posts

Friday, May 20, 2011

writeText() method

The writeText() method displays text that overwrites the entire document.

Browser support: all
TheMadScript Version: 1.0.0

Syntax: writeText(text)

The following syntax below will write text and replace the current document with the text "Hello, there! This is text written with TheMadScript.":

writeText("Hello, there! This is text written by TheMadScript.");