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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:13:15+00:00 2026-05-28T02:13:15+00:00

i have read the resizable of jQuery UI. after that i use the code

  • 0

i have read the resizable of jQuery UI. after that i use the code and got success. but now i do not understand the “option” in the line

    $( ".selector" ).resizable({ handles: 'n, e, s, w' });

Get or set the handles option, after init.

    //getter
    var handles = $( ".selector" ).resizable( "option", "handles" );
    //setter
    $( ".selector" ).resizable( "option", "handles", 'n, e, s, w' );

in the example what is option. perticularly last line $( ".selector" ).resizable( "option", "handles", 'n, e, s, w' );.

  • 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-28T02:13:16+00:00Added an answer on May 28, 2026 at 2:13 am

    option is a method. jQuery UI methods tend to be executed by calling the widget function (in this case resizable) with a string representing the method name as the first argument.

    The second argument is the name of the option you want to get/set, and the third argument, if present, is the value to set the option to.

    In a similar way, you could enable or disable the widget:

    $(".selector").resizable("enable"); //Call the enable method
    $(".selector").resizable("disable"); //Call the disable method
    $(".selector").resizable("option", "handles"); //Call the option method, get the handles option value
    

    For example, if you wanted to know whether or not the resizable is enabled or not, you could do:

    //If it's disabled, disabled == true. If not, disabled == false
    var disabled = $(".selector").resizable("option", "disabled");
    
    //After the following line, the resizable element will be in the opposite state
    //(if it was enabled, it will be disabled, and vice versa)
    $(".selector").resizable("option", "disabled", !disabled);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have android.permission.READ_OWNER_DATA but I can't find any reliable code that would explain how
I have read a lot that LISP can redefine syntax on the fly, presumably
I have read that using database keys in a URL is a bad thing
I have read on Stack Overflow some people that have converting to C#2.0 to
I have read (or perhaps heard from a colleague) that in .NET, TransactionScope can
I have read the documentation on this and I think I understand. An AutoResetEvent
I have a stream of bytes that is being read in from a socket
I have a script and I want to code it so that it becomes
I have a script that download's files from a server, all works nice. But
I have two (UNIX) programs A and B that read and write from stdin/stdout.

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.