# Filling a div \[javascript\]

**URL:** <https://forum.kirupa.com/t/filling-a-div-javascript/166014>\
**Category:** web dev\
**Created:** [October 16, 2005, 4:48am UTC](https://forum.kirupa.com/t/filling-a-div-javascript/166014 "2005-10-16T04:48:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveMania](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@DaveMania](https://forum.kirupa.com/u/DaveMania)\
**Post date:** [October 16, 2005, 4:48am UTC](https://forum.kirupa.com/t/filling-a-div-javascript/166014/1 "2005-10-16T04:48:25Z")

</div>

```auto
document.getElementById('content').??? = "Content filled";

```

what do i need to put where the ???s are to make it fill the div.  
For an input i know it’s .value as that’s its atribute that shows it’s contnent.

I feel stupid…
