<div class="modal hide fade" id="modal_window">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>Modal header</h3>
</div>
<div class="modal-body">
<p>One fine body</p>
</div>
<div class="modal-footer">
<a href="#" class="btn">Close</a>
<a href="#" class="btn btn-primary">Save changes</a>
</div>
</div>
これは私のhtmlコードです。
リモートコンテンツをロードしたいのですが、yahoo.comとしましょう。
私は試した
$('#modal_window').attr('data-remote', 'http://www.yahoo.com').modal({show:true, remote:true});
モーダルにロードされたyahooではなく、通常のモーダルコンテンツが表示されます。yahoo.comをモーダルウィンドウにロードするにはどうすればよいですか?
ありがとう