DEVHIDE
  • Home (current)
  • About
  • Contact
  • Cookie
  • Home (current)
  • About
  • Contact
  • Cookie
  • Disclaimer
  • Privacy
  • TOS
Login Or Sign up

How to make bootbox inside modal dialog?

341 Views Asked by vowtree At 05 January 2017 at 02:50 2025-12-12T10:24:58.876000

enter image description here

<div class="modal fade" id="ajax" role="basic" aria-hidden="true">
    <div class="modal-dialog modal-dialog-center">
        <div class="modal-content">
            <div class="modal-body">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                    <h4 class="modal-title">Ajax Content</h4>
                </div>
                <div class="modal-body">
                    <form id="form" class="form-horizontal" role="form">
                        <div class="form-group">
                            <label class="col-md-3 control-label">English:</label>
                            <div class="col-md-8">
                                <input type="text" name="en_key" value="" class="form-control">
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn default" data-dismiss="modal">close</button>
                    <button type="button" class="btn blue" onclick="saveParameter()">Commit</button>
                </div>
            </div>
        </div>
    </div>
</div>



function saveParameter(){
      bootbox.alert({
                  size: "small",
                  message: "Success!",
                });
}

Fist,I show the modal dialog, and click Commit button and alert bootbox, But the bootbox is outside the modal dialog like the picture, How to make bootbox inside modal dialog ??

modal-dialog bootbox
Original Q&A
0

There are 0 best solutions below

Related Questions in MODAL-DIALOG

  • How to redirect to another popup on ASP.NET MVC
  • Angular is giving me an injection unresolved error, but my controller isn't asking for any injections
  • How to change MahApps.Metro dialog content template width?
  • AngularJs clear form in Modal and set it ng-invalid
  • Embedded qtip2 Modal in Fullcalendar + Google Calendar
  • pass href text to modal
  • Attempting to pop a modal window - Using Angular and Bootstrap
  • Modal not working in Ember.js app
  • Unknown provider: $modalInstanceProvider <- $modalInstance in Angularjs modal
  • How can a dialog become responsive while waiting for a call to DoModal() to return?
  • Multiple Modals on one page
  • Add modal window after submitting form
  • Bootstrap 3 - When modal hides it hides content
  • How can I open a modal from a modal template?
  • Modal Dialog in child WPF window

Related Questions in BOOTBOX

  • jQuery .validate() submitHandler not firing
  • Focus on field doesn't work in a bootbox callback
  • Change content of Bootstrap Modal - BootBox JS
  • Show PHP object data inside javascript
  • BB Dialog showing up before alert
  • bootbox meteor form: preventing blank submissions
  • Customize bootbox prompt
  • Bootbox confirm: return client result in order to do postback to rowCommand
  • Using bootbox.confirm with .NET web forms
  • How can I load in a bootbox a custom element with javascript methods attached?
  • How to get a value from Ajax call to be used in a Bootbox button's function?
  • Modal it is open multiple times
  • How to make bootbox inside modal dialog?
  • BootBox - Unexpected identifier error
  • Boombox called from within $(this) block does not show - outside of it no problems

Trending Questions

  • UIImageView Frame Doesn't Reflect Constraints
  • Is it possible to use adb commands to click on a view by finding its ID?
  • How to create a new web character symbol recognizable by html/javascript?
  • Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
  • Heap Gives Page Fault
  • Connect ffmpeg to Visual Studio 2008
  • Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
  • How to avoid default initialization of objects in std::vector?
  • second argument of the command line arguments in a format other than char** argv or char* argv[]
  • How to improve efficiency of algorithm which generates next lexicographic permutation?
  • Navigating to the another actvity app getting crash in android
  • How to read the particular message format in android and store in sqlite database?
  • Resetting inventory status after order is cancelled
  • Efficiently compute powers of X in SSE/AVX
  • Insert into an external database using ajax and php : POST 500 (Internal Server Error)

Popular # Hahtags

javascript python java c# php android html jquery c++ css ios sql mysql r reactjs

Popular Questions

  • How do I undo the most recent local commits in Git?
  • How can I remove a specific item from an array in JavaScript?
  • How do I delete a Git branch locally and remotely?
  • Find all files containing a specific text (string) on Linux?
  • How do I revert a Git repository to a previous commit?
  • How do I create an HTML button that acts like a link?
  • How do I check out a remote Git branch?
  • How do I force "git pull" to overwrite local files?
  • How do I list all files of a directory?
  • How to check whether a string contains a substring in JavaScript?
  • How do I redirect to another webpage?
  • How can I iterate over rows in a Pandas DataFrame?
  • How do I convert a String to an int in Java?
  • Does Python have a string 'contains' substring method?
  • How do I check if a string contains a specific word?
.

Copyright © 2021 Jogjafile Inc.

  • Disclaimer
  • Privacy
  • TOS
  • Homegardensmart
  • Math
  • Aftereffectstemplates