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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:40:30+00:00 2026-05-26T21:40:30+00:00

I am trying to make a textarea draggable and resizable using Jquery. I referred

  • 0

I am trying to make a textarea draggable and resizable using Jquery. I referred to similar question asked here on Stackoverflow at Is a draggable and resizable textbox/textarea possible using jQuery?.

HTML for textarea

    <div id="text1" style="margin-left:100px; width:190px; height:50px; ">
    <form>
    <textarea id='ta1' style="width:180px; height:15px" class='property'>Right click to enter      text</textarea>
</form>
</div>

I am able to make the textarea draggable by closing it in a div and making the div draggable and I make the text area resizable as follows:

   $( "#ta1" ).resizable( { cancel: '' } );
     $( "#text1" ).draggable( { cancel: '' } );
     $('#ta1').focus(function() {
     $(this).text('');
     });

The only issue is that I cannot enter text into the textarea by normal left click. The only way to enter text in the textarea is right click (I disabled context menu on right click). Can anyone explain why this is the case? How can I enable entering of text using normal left click?

My code is here at – http://jsbin.com/iboxoy/61/edit#javascript,html

Thanks,
Shan

  • 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-26T21:40:30+00:00Added an answer on May 26, 2026 at 9:40 pm

    The left click is being highjacked by the draggable plugin. If you define a handle to drag you should be fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im trying to make a hyperklink in a textarea box...is that possible? This is
I am trying to make textbox similar to the Twitter , for this I
So, I was trying to make a textarea which when I press enter, it
im trying to make this div have the same styling properties as my textarea
Hi i was im trying to make a jquery ajax submit form, and im
I'm trying to make a textarea grow when you press enter and shrink when
I'm trying to make a textarea input field which automatically replaces specific characters to
I am trying to make a textarea that only will type in caps, even
I am trying to make a similar bit of code like at the bottom
Hello all im new to jquery and im trying to make a edit inplace

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.