How To Display Or Show Text On Html Using Javascript Document.write()

RegisterLogin
How To Display Or Show Text On Html Using Javascript Document.write()
Post Description: How To Display Or Show Text On Html Using Javascript Document.write()
Tags: How, To, Display, Or, Show, Text, On, Html, Using, Javascript, Document.write()
This Post Was Posted On Apr 19, 2008 By web hosting #1433
as a php programmer i know that to display information on the screen i can use echo or print

but since i am new to javascript this is how you can show or display the text on the browser in your web page with javascript

<SCRIPT language="javascript" type="text/javascript">
<!--
document.write ("Wello Webune, Javascript is Cool!");
//-->
</SCRIPT>


so basically to show the output you use the document.write() function

the above sample code will ouput this on your broswer:

Wello Webune, Javascript is Cool!
anuj
#5268 1
thanks for the information
Jun 16, 2011 Reply Report abuse
unknown
#5122 2
you fail at spelling.
May 18, 2011 Reply Report abuse
viram
#4757 3
hiii,,,,,,,,,,,,,
nii
jnjl
inipjip
nnoioopi
unuio
Jan 13, 2011 Reply Report abuse
Leave Your Comments...
©2012 Webune Forums - Thu Dec 13, 2012 3:55 pm
Powered by: Webune Forums V3