Ohhh…you mean that you want the address in the browser as it’s coded and not shoved into a string.
That being the case, I think the best thing to do is to have a set of spans (address lines if you will), let the JS grab the text inside each one and the concatenate all of that….then only submit it to GMaps on a click.
I confess I’m at an early stage with JQuery but that would seem to be the logical way to do it.
Edit: I just realised I completely missed the point of what you’re trying to accomplish! Didn’t spot your original codepen, will have a look at that as well, but the text input turned into a link is pretty cool also!