Formating / multi formating strings in javascript

August 1, 2007 at 4:58 am Leave a comment


<script language=”JavaScript”>

<!– formating goes here

var myVariable = suresh Theundisputed;

document.write(myVariable.big() + “<br>”);

document.write(myVariable.blink() + “<br>”);

document.write(myVariable.bold() + “<br>”);

document.write(myVariable.fixed() +”<br>”);

document.write(myVariable.fontcolor(red) + “<br>”);

document.write(myVariable.fontsize(12pt) + “<br>”);


Multi Formatting

<script language=”javascript”>
bol=newvar.bold().toLowerCase().fontcolor(“red”).italics(); //multiformatting



Entry filed under: Javascript.

Search & Replace in javascript Arrays / Populating arrays / Sorting in Javascript

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed

Flickr Photos

Blog Stats

  • 720,244 hits

%d bloggers like this: