Basically I am passing a variable such as “box_1” (Including the quote marks) which is stored in the function as the variable box to a function which will animate said box, however I need a complete function to come after the animation which works on (“box_1 .title”) So what I want to do is take the ” off of the end of the variable passed to the function and then use (box + ‘.title”‘) I can’t find an easy answer to this online, so I thought I’d ask here 🙂
Basically I am passing a variable such as box_1 (Including the quote marks) which
Share
Perhaps
$(given_selector_string).find('.title')is what you’re looking for?