Mark:

Is the innerHTML property an option?  that'd handle the <br />s much easier.

On 5/10/05, Mark A Kruger <[EMAIL PROTECTED]> wrote:
> 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:206202
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

Reply via email to