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

  • Home
  • SEARCH
  • 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 8561641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:32:45+00:00 2026-06-11T16:32:45+00:00

An example is better than 1000 words: http://jsfiddle.net/GF7KF/4/ There is a blue div .

  • 0

An example is better than 1000 words:

http://jsfiddle.net/GF7KF/4/

There is a blue div. If you click the ‘Open it!’ button, that div is opened in a jquery ui dialog. How can I do that when I close the dialog the div returns to its initial position? Is there an easy way or I have to do some code to remember manually it for each concrete situation?

  • 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-11T16:32:47+00:00Added an answer on June 11, 2026 at 4:32 pm

    One solution is to use a placeholder element inside the div:

    http://jsfiddle.net/davelnewton/zjMvS/1/

    <div>
      <p>Hello!</p>
      <span id="dialog"></div>
    </div>
    
    var d = $('span#dialog');
    $('.open-dialog').click(function() {
        d.dialog({
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a newbie to sql and am trying to follow this example here: http://net.tutsplus.com/tutorials/php/a-better-login-system/
Better to give an example, to illustrate what i am describing. The div element
I just run into some problems with django models. Example code is better than
Is there a recommended reference manual for python that's better than the official docs?
Hopefully this example will illustrate my point better than simply trying to explain it:
Everyone knows that: www.example.com/city/new-york is much better than: www.example.com/city?id=43567 Fine, meaningful and human-readable. But
an example code what I try to do will surely do better than my
For example is it better to have: public class Case : EntityIdentifiable { public
Sorry for repost but I have a better working example of data that reflects
What is better / faster: For example: STATIC / direct HTML: <?php for($i=0;$i<$sth;$i++) {

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.