<span class="WorkingHours">
M,W,Th,F 7:30 AM - 4:00 PM <br />Tu 7:30 AM - 6:00 PM <br />
</span>
will be rendered as this
M,W,Th,F 7:30 AM - 4:00 PM <br />Tu 7:30 AM - 6:00 PM <br />
Now i need to replace the <br />
as an empty space before it is rendered??
I already asked a similar question, but i underestimated the trickiness of this..
I did this
$('.WorkingHours').text().replace(/<br \/>/g, " ");
didn't work..can someone help me out of this?
Shouldn't this work?
$('.WorkingHours').text().replace(/<br \>/g, " ");
/g, " ");` – Austin Brunkhorst Mar 14 '12 at 15:44