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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:08:56+00:00 2026-05-13T14:08:56+00:00

I want to use jQuery UI transfer() method to hide an element. I have

  • 0

I want to use jQuery UI transfer() method to hide an element.

I have a div.click and a span.target. I want the div to be moved to the span when clicked.

I tried this code:

$("div.click").live('click', function () {
      var i = 1 - $("div.click").index(this);
      $(this).effect("transfer", { to: $("span.target").eq(i) }, 1000);
});

but nothing happens.

In the demo I downloaded it was said that transfer is an option of "hide". But on their site it says its an option of "effect".

Could someone help me understand how to use this?

  • 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-13T14:08:56+00:00Added an answer on May 13, 2026 at 2:08 pm

    According to the documentation (which was rather difficult to find) you must style the ui-effects-transfer class (typically specifying a dashed border) in order to see the transfer in the first place.

    The documentation of the hide() method is somewhat misleading though, you cannot use the "transfer" effect with hide(). However, if you do want to make the element invisible after the "transfer" effect is complete, you can use a callback as I’ve done in the following demo.

    Working Demo: http://jsbin.com/iwijo (editable via http://jsbin.com/iwijo/edit)

    P.S. I’m assuming that 1 - in your code was intentional and not a typo. Passing a negative index to eq() makes it select elements in reverse order.

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

Sidebar

Related Questions

I want to use jQuery's fadeToggle() function. I have a hidden div and when
I want to use jQuery to popup a div layer when click attach pic
I want to use jQuery to delete cookies; I have tried this: $.cookie('name', '',
I want to use jQuery to pull information from my database when I click
I want to use jQuery tabs ( http://jsfiddle.net/43FcS/2/ ) inside a div that's created
I want to use jquery to build HTML like this: <li><a href=#><span class=play></span><span class=trackName>Track
I want to use jQuery's .get method to send an ajax call to the
I want to use jQuery to create a new div on the page when
I want to use jQuery to dynamically change an html element every time it's
I want to use jquery SlickGrid in gwt. Has anybody tried this ? Currently

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.