Trigger append elements. How?

Have you ever got the need to trigger append elements? append() is mostly useful when you want to insert content or an element at the end of your target container. The common problems when you trigger append elements is that they are not rendered clickable.

Here is an example of an click() button :

The problem why you can't trigger this dynamically is because click() only applies for elements that already exists.
So you have to bind it to something that already exists such as the document.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.