href in modal dialog in bootstrap

Mike

this is my first bootstrap project. i try to open a url if the user clicks the yes button in a modal dialog. But it wont work as suspected:

This is my code:

<div class="modal inmodal fade" id="myModal6" tabindex="-1" role="dialog"  aria-hidden="true">
                            <div class="modal-dialog modal-sm">
                                <div class="modal-content">
                                    <div class="modal-header">
                                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                                        <h4 class="modal-title">Delete?</h4>
                                    </div>
                                    <div class="modal-body">
                                        <p><strong>You like to delete the files?</strong></p>
                                    </div>
                                    <div class="modal-footer">
                                        <button type="button" class="btn btn-white" data-dismiss="modal">No</button>
                                        <button type="button" class="btn btn-primary" href="index.php?delete=yes">Yes</button>
                                    </div>
                                </div>
                            </div>
                        </div>

The Yes-Button didnt work. Maybe someone can help me!

Punith Jain

instead of button try a tag like this

<a class="btn btn-primary" href="index.php?delete=yes">Yes</a>

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Twitter Bootstrap - Center Modal Dialog

From Dev

re-size the modal dialog in bootstrap dynamically

From Dev

Validation in bootstrap modal dialog

From Dev

time-picker in bootstrap modal dialog

From Dev

Bootstrap modal-dialog is not getting display

From Dev

Minimize or collapse a bootstrap 2.3.2 modal dialog?

From Dev

Using Bootstrap Clockpicker in modal dialog

From Dev

Bootstrap modal dialog center image in body

From Dev

Displaying a bootstrap Modal dialog from Angular Controller

From Dev

Jquery close bootstrap modal dialog completedly

From Dev

Default button in bootstrap modal dialog

From Dev

Show bootstrap modal when click on href Laravel

From Dev

Not able to access bootstrap modal dialog in Selenium Webdriver

From Dev

Unit testing React Bootstrap modal dialog

From Dev

PDF file to be displayed on the dialog modal via bootstrap

From Dev

re-size the modal dialog in bootstrap dynamically

From Dev

How to show a modal dialog using bootstrap

From Dev

Add a confirm bootstrap modal/dialog to checkbox

From Dev

time-picker in bootstrap modal dialog

From Dev

Bootstrap modal-dialog is not getting display

From Dev

Use bootstrap modal with href tag

From Dev

Image opens modal dialog bootstrap

From Dev

Bootstrap modal dialog set attributes from javascript

From Dev

Twitter Bootstrap 3 modal dialog not displaying

From Dev

Show bootstrap modal when click on href Laravel

From Dev

How to detect the dismissal of a bootstrap modal dialog in javascript?

From Dev

Call a bootstrap modal and not a href

From Dev

How to send href value in tablesorter to dialog modal?

From Dev

Full Calendar event to bootstrap modal dialog not work

Related Related

HotTag

Archive