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?

344 Views Asked by vowtree At 05 January 2017 at 02:50 2025-12-18T04:08:09.181430

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

  • Modals in React applications
  • Modal won't hide
  • How to get the form data from the modal-component into the submithandler
  • Modal exits data iteration loop in Statamic
  • Where to put and how to use Modal
  • JavaScript is not communicating with my HTML file
  • Create custom dialog box swiping on all 4 directions
  • modal is not shown up when convert to vue 3
  • How can I modify my Chrome extension to display a custom confirmation modal before a file is uploaded?
  • angular test inside subscribe of modal
  • Unable to close modal: setter function used to change variable state which closes modal never executes
  • How can you interact with a modal from apps script after it has already run?
  • Bootstrap modal in php loop
  • Link a Modal to Other Modal in ASP.NET
  • Livewire/Bootstrap - Issue Passing Value to Input Before Displaying Livewire/Bootstrap Modal

Related Questions in BOOTBOX

  • I need to replace confirm box with the bootbox.confirm
  • prevent closing bootbox by escape button
  • How to wait for callback until user press any button on the bootboxJS prompt instead of executing the remaining script after showing the prompt
  • Cypress .click() action does not work inside modal
  • Is there any way to show Raw XML data in Popup without default alert box?
  • Bootbox alert displaying at bottom of the screen
  • BootBox modal showing a really ugly close icon
  • How to set value in a reactive form control in angular, using the value obtained from the call back function?
  • variable from Bootbox input
  • Get text response from BootBox prompt
  • Combining HTMX with bootbox.js
  • How to Remove Gaps between HTML Elements while printing
  • bootbox with a ck_editor can't have access to special characters
  • Angular: Call a TS function when clicking a href in the message of a bootbox
  • Select2 User Select Add a new Company Popup Window

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 node.js arrays c asp.net json

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
  • Pricesm.com
  • Aftereffectstemplates
  • Jogjafile