Latest

recent

JavaScript fixed() Method

Definition and Usage

The fixed() method is used to display a string as teletype text.

Syntax

stringObject.fixed()


Example

In this example "Hello world!" will be displayed as teletype text:

<script type="text/javascript">
var str="Hello world!";
document.write(str.fixed());
</script>
JavaScript fixed() Method Reviewed by 1000sourcecodes on 02:13 Rating: 5
Powered by Blogger.