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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:56:12+00:00 2026-06-04T15:56:12+00:00

It might seem a little dull and basic, but I’m actually having trouble to

  • 0

It might seem a little dull and basic, but I’m actually having trouble to find a good solution to my problem.

I’m using jQuery to make nice draggable elements. What I’d like to do is to anchor the draggable element wherever I want, with a button/link there is on it.

You could think of disable/enable the draggable when the button is clicked : it has the effect I want, but it sets a weird effect on the draggable, rendering it half white (which is the effect you would expect from disable, I’m not arguing on that).

Bottom-line is : how do I apply – and more importantly – remove the draggable property on the element? Is there any sort of :

$( "#draggable" ).draggable(false);

that would simply make my element normal again, or just prevent it from moving without altering its appearance?

Thanks in advance!

Edit : I have used the .draggable("disable") function and it changes the element’s appearance, therefore I’m looking for another solution.

  • 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-04T15:56:14+00:00Added an answer on June 4, 2026 at 3:56 pm

    Yes you can disable the element from being draggable :

    $('#draggable').draggable( "disable" );
    

    See the docs here

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

Sidebar

Related Questions

My question might seem a little amateur but I can't find an answer online
I know this question might seem a little basic stuff but I want to
I know this questions might seem a little odd, but I want to make
I might be just thick (nothing new), but I can't seem to find anything
This might seem like a weird question, but bear with me. I'd like to
This might seem ridiculously simple, but I've been getting all kinds of error depending
This might seem an easy question for some, but I am struggling with it.
This might seem as silly question but I am thinking there might be the
This might seem a bit weird, but since I am new in RoR and
This might seem like a trivial question, but I'm a bit muddled in my

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.