How to add more items to the existing jQuery selection

There are occasions when you have already selected elements and need to add more items to it. Imagine you have selected different items and have jQuery selection object. For example: var elms = $('#elem, .items');

Now, you need to add more new items (DOM nodes) to your section. Let’s say you want to add .otherItems to your elms selection. You could achieve it by using one of these methods:

Comments

Popular posts from this blog

Types and forms of imitation gemstone and manufactured

Genuine Windows 7 Ultimate: The GENUINE Windows 7 activator for x32 and x6480

7 Tips before you buy detectors for gold and treasures and minerals