I have an address that is being pulled from database that interacts with Google Map API. When displaying results my address renders as follows:
456 Here Street, City, AL 36723
What would be a solution for entering a line break after
465 Here Street
So that the address would display as
456 Here Street
City, AL 36723
var address = "456 Here Street, City, AL 36723";
address = address.replace(',', '<br/>');
http://jsfiddle.net/BvT9p/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With