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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:59:21+00:00 2026-05-26T13:59:21+00:00

hi try to increase the height & width of two div simultaneously by jquery

  • 0

hi try to increase the height & width of two div simultaneously by jquery like

$("#dialog .ui-dialog").animate({ height: $content.outerHeight(), width: $content.outerWidth() }, 1000,
         function () {
             $("#dialog").removeClass("BusyStyles");
             $content.fadeIn('slow'); 
         });

it does not work. so please tell me how can i increase size of two div through animate function simultaneously not one after one. $(“#dialog .ui-dialog”) here i have to give one div id and another one by class name because my situation is like that. thanks

  • 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-26T13:59:22+00:00Added an answer on May 26, 2026 at 1:59 pm

    Place a comma between the two selectors like this:

    $("#dialog, .ui-dialog").animate({
        height: $content.outerHeight(),
        width: $content.outerWidth() },
        1000,
        function () {
            $("#dialog").removeClass("BusyStyles");
            $content.fadeIn('slow'); 
        }
    });
    

    I hope it helps!

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

Sidebar

Related Questions

Whenever I try to increase the form width in the properties box of VS
I need a sidebar div and a content div with a height that is
Consider the following simple WPF form, we will try to animate border1's Height: This
I have this weird problem. Whenever i try to increase the post_max_size & upload_max_filesize
try: spam.foo except AttributeError: do_somthing() (Is it wise to check an attribute like that
This bug is similar to: jQuery reports incorrect element height in Firefox iframe He
I'm working on some experiments to try and increase the GPS accuracy on an
Almost all of my text in page look like this in IE7 Structure: <div>
I'm trying to create a JDialog like the Symbol dialog in Microsoft Word that
I am working on list Preferences,have to increase the font size in Alert Dialog

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.