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

  • SEARCH
  • Home
  • 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 8769965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:27:52+00:00 2026-06-13T17:27:52+00:00

Hi all i am working on jquery i have a text area i need

  • 0

Hi all i am working on jquery i have a text area i need to select class for hide functions in jquery once it load it will be displayed when i eneter and when i leave it should hide

here my code follows:

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

here my html:

     <textarea  rows="10"  class="select"  id="editor1"> </textarea>

here i have my textarea right i need when entered no function will be fired when i leave the textarea it shouls hide for that i need to call text area with class so i need to how to fine a textarea class any help wil be appreaiated 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-13T17:27:53+00:00Added an answer on June 13, 2026 at 5:27 pm
     $('.select').mouseleave(function () {
        $(this).hide();
     });
    

    Altho you might wanna try:

     $('.select').blur(function () {
        $(this).hide();
     });
    

    And as per your question in title

    $('.select') /* This will select every single element
        that has the class "select" */
    

    Whereas

    $('#editor1') /* This will select ONLY the first
        element that has the id "editor1" */
    

    And inside any event or func call on an element, $(this) represents the element called:

    $(".select").blur(function(e) {
        $(this) // represents the current element losing focus
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jQuery dialog which loads an external php page. All is working
I'm working with Jquery in Drupal. I have sets of four blocks that all
I have blinking text modal dialog box and slideshow with jquery. They working just
I have some JQuery that isn't working and I need a little help. I
Hi all iam working on jquery here i have a value in span tag
Currently all working with my jquery $.post actions, successful connections, query and json_encode return
I'm pretty new to Javascript, Rails and JQuery all working together. I'm going through
Hello all I am working on javascript jquery and svg.I want to ask a
We have three developers and one tester all working against the same database. We
I have a draggable table which all working fine, though I want to be

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.