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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:27:46+00:00 2026-06-02T01:27:46+00:00

jsFiddle for this question I am currently using bootstrap modal, which is a jQuery

  • 0

jsFiddle for this question

I am currently using bootstrap modal, which is a jQuery plugin to create a popup box. (If anyone wants to check out the very short documentation, here is a link to it – it’s very short, so only takes a minute).

Unfortunately, I am having a couple problems:

  1. I need to be able to define the size of the modal pop-up box. I tried the following, but it does not display correctly:

    <div class="modal" id="myModal" style="width: 800px; height: 900px;">

  2. I need to be able to hide the modal by default. Currently, it displays as soon as the page loads. I tried the following, but it does not seem to hide correctly:

    $(document).ready(function() { $('#myModal').modal("hide"); });

Any idea how I might be able to resolve these issues?

  • 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-02T01:27:47+00:00Added an answer on June 2, 2026 at 1:27 am

    Answer 1: Try defining the modal CSS class and set the width and height.
    Answer 2: when calling the modal function, pass in an option object with th property “show” as false.

    $("#myModal").modal({show: false});
    

    Answer 3: you can handle the “shown” event and wire it up to make an AJAX call to web page and set the result as the inner HTML of the div.

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

Sidebar

Related Questions

Currently i's look at this question ( How to create a diagonal line within
This jsfiddle example shows what I'm talking about, I gave the div in question
Currently I have a stacked bar chart like this ( jsfiddle demo ) I
I have created a fiddle to test this : http://jsfiddle.net/Ninjanoel/X6ShS/ which works fine :(
This question was asked here but the issue wasn't resolved. Please see this jsfiddle
I'm currently upgrading my application to use jQuery 1.6.1 (previously using 1.4.4) and found
Here is the scrollbar class in question: http://jsfiddle.net/brandondurham/6SUyM/3/ Currently the height of the scroll
I have this jquery issue that seems to only break when using background image
I'm using Twitter's Bootstrap modal functionality . When someone clicks submit on my form,
http://jsfiddle.net/motocomdigital/7fyvn/1/ Hello, this is a question I'm really struggling to find an answer for.

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.