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 6694927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:09:34+00:00 2026-05-26T06:09:34+00:00

I have mulitple textarea’s, when you’re finished editing them i’m looking to retrieve the

  • 0

I have mulitple textarea’s, when you’re finished editing them i’m looking to retrieve the new text when the field doesn’t have focus anymore.

The solution i’ve been trying is

$('textarea').live('focusout', function() {
console.log(this.text);
});

or

$('textarea').live('blur', function() {
console.log(this.text);
});

Both return as undefined, due to it not knowing what ‘this’ is referring to.

Is there another event that can make this possible?

  • 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-05-26T06:09:35+00:00Added an answer on May 26, 2026 at 6:09 am

    Use the value property (this.value) to get the contents. Even in JQuery, the .text() method doesn’t return the right contents of a textarea.

    If you want to use a JQuery method:

    $('textarea').live('focusout', function() {
        console.log($(this).val());
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a textarea with text entered on multiple lines. I submit that using
If I have a textarea on an HTML page with multiple lines of text
I have a textarea in which I'm putting some default text into. Let's just
I'm completely new in javascript. The problem is, I have multiple textarea and div
I have saved input from a textarea element to a TEXT column in MySQL.
I have a div on which i can type text using span and textarea(which
I have multiple <textarea> generated dynamically with jQuery (.append). When I append a new
I have a custom library that can pick mulitple images from the camera roll,
I have multiple input fields on my page. I Regex them with a css
I have multiple input text fields grouped in divs: <div class=container0> <input class=containerItem0 name=containerItem[0][0]

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.