Is it possible to click on a hyperlink which contains a dynamic URL, and have that page open in a jquery modal window?
Posted on 2013-06-18
If I have dynamically created hyperlinks on my page, is there any way to load the URL found in the href tag into a jquery modal window once the page has loaded?
Example dynamic links found on my page:
<a href="?cmd=search&type=facility&id=100">Click here</a>
<br /><br />
<a href="?cmd=search&type=facility&id=101">Click here</a>
I am not sure if this is possible seeing that you pass the jquery script within the <head></head> tags but, if this were, this would be great.
Is there another way to accomplish this that I am not aware of?