Load a page content just by clicking

Asked

Viewed 75 times

0

How do I make a content to be displayed within a page, and that both the display and loading of that content occurs only by clicking on a link (without loading the full page, only the element I want).

The goal is to display videos from other sites with their embed code, but only by clicking, avoiding the display of multiple videos on the same page without the user’s request, leaving the page load lighter.

  • Without loading, it would have to be via JAVASCRIPT + AJAX. However, to help objectively, I need to detail your context better.

  • I have several Embed Codes (Embeds) and Titles for these videos in a database, and I would like to create a link (using these titles), and when clicking on this link, would be loaded (below this link) the referring embed. I already know how to handle the data, the problem is that I do not know how to make this upload just by clicking on the link

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.