DmitryEfimenko / TwitterBootstrapMvc

Fluent implementation of ASP.NET-MVC HTML helpers for Twitter Bootstrap.
Apache License 2.0
224 stars 79 forks source link

Modal Dialog open from javascript #344

Closed CambSEng closed 9 years ago

CambSEng commented 9 years ago

How can you use javascript to open a Modal dialog?

gicalle commented 9 years ago

That's a bootstrap question. Take a look at http://getbootstrap.com/javascript/#modals-usage

$('#myModal').modal('show')
CambSEng commented 9 years ago

Your right! Got to remember that TwitterBootstapMVC creates standard Bootstrap html so that the Bootstrap docs also apply. Thanks.