Link to home
Start Free TrialLog in
Avatar of jackjohnson44
jackjohnson44

asked on

jquery how do I exclude all divs that are not nested with a certain class name

I have a hidden div at the bottom of my page where I plan to put a div with text inputs and buttons.  I am going to be dynamically cloning this and adding it to my page to make a way for users to enter more results by clicking an add button which will add a new row of inputs.  This is working now.  I want to add event handlers to the buttons on the newly added rows so I was thinking that I can just nest my template in a class called Template.  Then when I add my event handlers, I could just search for anything that is not under a div with the class of Template.



This is
ASKER CERTIFIED SOLUTION
Avatar of amit_g
amit_g
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial