I have some html in a jQuery variable
var banner = $("<div class='banner-textarea'></div>");
hot can i search “banner” and find banner-textarea so i can amend the html.
var LIs=ul.find("div.banner-textarea");
Above is not working!
Many thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can search within your
jQuery object.Unfortunatly, you didn’t show where
ulcomes into play. You would needto create such an object structure. That in turn, makes no sense obviously.