In page if the table with the class controls is available then only I want to add CSS to a div like overflow-y visible. Using jQuery.
<html>
<body>
<table class="controls" >
</table>
<div style="overflow"></div>
</body>
</html>
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 do a simply
ifcheck for elements matching the selector (the.length), for example:Though…that
"div"selector should be much more specific to what you’re after. If you actually want to add the<div>then it would look like this: