How can i give a line break in the string text? I want to give a line break in this line: "Monday September 21 at 11:00am - September 24 at 12:00pm Pacific Time"
in the below code.
This is what I am doing.
<script>
$(document).ready(function() {
$('div.when ul.details p:contains("Sunday, September 20, 2015 - Thursday, September 24, 2015")').text('Monday September 21 at 11:00am - September 24 at 12:00pm Pacific Time ');
});
</script>