Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Write into <div>

Status
Not open for further replies.

Dragonfish

Programmer
Apr 25, 2001
62
UG
I´ve defined an area with

<DIV ID=&quot;AreaDiv&quot;>

</DIV>

The id referes to stylesheet properties which place this area on the browser. Using an external .js file I want to write text into this area..

function area() {
document.AreaDiv.write(&quot;This is a test.&quot;);
}

But the syntax is wrong - AreaDiv - but I can´t find any documentation describing the correct syntax. Silly question I know but without documentation.....

Thanks for the help
DavidinGermany
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top