Reputation: 5535
Is it possible to dynamically load content from another page (same domain), that uses dynamic loading as well?
More specifically: There is a product feed which uses query parameters and Angularjs to specify which products will be shown and to load them.
So if I would like to load products from domain.com/products?color=red to domain.com/test
Is it somehow possible to bind the products?
Thanks
Upvotes: 3
Views: 118
Reputation: 8097
Yes, although in order to get the javascript inside the page to run you'll have to load it into an iframe
.
Once it's loaded into an iframe
you can hide the iframe
with CSS.
Upvotes: 2