Home › Forums › JavaScript › Pesky Line breaks… › Reply To: Pesky Line breaks…
February 25, 2015 at 1:34 pm
#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; ?>;');