Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Pesky Line breaks… Reply To: Pesky Line breaks…

#196780
kamaboko
Participant

Hi nkrisc,

I typed up a huge overview of what I’m trying to do, but after reading it, I thought it may be even more confusing. At the end of the day, what I’m trying to find out is, is it possible to populate a dynamically created DOM element using php and keep the line break tags out of the displayed content.

var txt = documentCreateTextNode('<?php echo $something; ?>;');