A question about loading specific "id
"-attributed (external) content onto your own (internal) page, e.g. a div
, has already been answered, here: How Can I load a specific DIV from an external webpage, into a specific DIV of my website?.
However, is it possible, not to incorporate external "id
"-attributed content internally, like in the referred question (and many other similar ones), but to have an internal hyperlink, which (when clicked on), not only links to the base-URL
where the external (e.g.) <div id="
...">
is located, but also automatically leads to a mouse-click on to that element (e.g.) div
with a certain id
.
Is it possible that this post: How to load a certain div of an external webpage on another webpage that is on a different domain has some jQuery mod/library for it? For the moment, I am not familiar enough to understand well how to implement it for an automatic mouse-click-application.
- I guess this post is an almost-duplicate of: How do I select and open a random link of a certain class on an external webpage?, however it talks about opening content with a
class
-attribute, not a uniqueid
-attribute.
Do you think it is possible using the this.doSomething=function(){
JS function, and is this the best way to go?
Many thanks. Any help would be greatly appreciated.