Ah... innerHTML.... doh! -----Original Message----- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 10:20 AM To: CF-Talk Subject: OT: Javascript question...
divName.innerHTML += "some new text" + "<br/>"; This should work Pascal >I want to manipulate the "innerText" property of a <div> tag. It works fine >except that I can't seem to put in a linefeed or break. I tried all the >following without success. Does anyone know how to get a linebreak in there? > >-mark > > > >--------------------------------------------------------------------------- - >------------------------ >divName.innerText = divName.innerText + "some new text" + "<br/>"; > >divName.innerText = divName.innerText + "some new text" + /n; > >divName.innerText = divName.innerText + "some new text" + chr(10); > >divName.innerText = divName.innerText + "some new text" + chr(13); >--------------------------------------------------------------------------- - >----------------------- > > > > >Mark A. Kruger, CFG, MCSE >www.cfwebtools.com >www.necfug.com >http://mkruger.cfwebtools.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206254 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

