Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8783205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T20:46:12+00:00 2026-06-13T20:46:12+00:00

I am working with jQuery here. I have a div under I have one

  • 0

I am working with jQuery here. I have a div under I have one more div and I have a text area here I need to find a class of text area

My code:

<script type="text/javascript">
    $(document).ready(function () {
        alert('function fired');
    $('.select').mouseleave( function () {
            alert('will hide');
            $('.select').hide();
        });
    });
  </script> 

and here my html div tag:

<div id="btndiv" style="height:373px;width:800px; border:10px  solid orange ">
    <div id="btndiv1" style="height:360px;width:800px; border: 1px solid orange  ;">
        <textarea  rows="10"  class="select"  id="editor1"> </textarea>
    </div>
</div>

I need to call a class of textarea. How could I do this? I had tried but still not working any help will be appreciated – thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T20:46:13+00:00Added an answer on June 13, 2026 at 8:46 pm

    You can do

    $(this).attr('class');
    

    /

    var outside = $('#btndiv1 .select').attr('class') ;
    
        $('.select').mouseleave( function () {
               alert('will hide');
               $('.select').hide();
               var inside = $(this).attr('class') ;
         });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

jQuery beginner here. Here is what I'm working on. I have an area map
new to jquery here, right now I have a working hide/show function when one
I'm working with a dynamic DOM here, and have called the jQuery UI datepicker
I am working with jQuery UI slider . Here is the code i am
I'm working with jquery. And i have text input in a form, i would
I am working in jquery and javascript.Here is my problem. I have want to
I have been working on a custom image slider featured here: JQuery $(function(){ $('.cont:gt(0)').hide();
I am having a WTF moment here. I have been working with jQuery since
I have this code which is not working jQuery if($(#dis(h3)).length == 0) $(#dis).append(<p>no display</p>);
I have jQuery mobile working with google maps so that I can display one,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.