Click link: replace src of iframe with link src How?
Hi everyone: Looking forward to joining the conversations here on sitepoint. This is my first post/question btw.
Link code ex with google map short link - when this is clicked I want the iframe to show this http://goo.gl/maps/Txtz
iframe code with src (batchgeo map that loads on page load
<a href="http://goo.gl/maps/Txtz" target="mapFrame"><strong>Lakeview Farm Supply</strong></a>
A bit of jquery I picked up elsewhere and that sounded like it might work...but it didn't. I have a hunch it's missing something that would work for my specific situation - but I don't know what.
<iframe name="mapframe" id="mapframe" src="http://batchgeo.com/map/c3eb1a85588c20553c99bcdb05b756f7" style="border:1px solid #aaa;border-radius:10px;width:100%;height:600px;"></iframe>
Hope this is clear enough and thanks ahead of time for any help.