Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Creating a new <Div>
- From: javascript@xxxxxxxxxx (Andrew Gibson)
- Subject: [Javascript] Creating a new <Div>
- Date: Mon, 15 Apr 2002 16:26:18 +1200
> You should probably reload the page's source code and add the div command at > the bottom. You could also load the function into an IE IFRAME and then add > the div afterwards. > > ==================================== > Trey: tutwabee@xxxxxxxxxxx Thanks Trey. I looked in to the textrange object, but couldn't get it to work, so I tried: var myStr="<div id=myId></div>" document.body.innerHTML=document.body.innerHTML+myStr and this seems to do the trick without reloading the source! Andrew Gibson ============================================== Web Presentation Innovations: DHTML, Javascript, XML http://www.dscript.net.nz
- References:
- [Javascript] Creating a new <Div>
- From: Trey H
- [Javascript] Creating a new <Div>
- Prev by Date: [Javascript] Help on Macintosh
- Next by Date: [Javascript] I Need an Object
- Previous by thread: [Javascript] Creating a new <Div>
- Next by thread: [Javascript] Creating a new <Div>
- Index(es):