got a problem. I am trying to trigger bootstrap modal via jquery and it doesnt work. I tried every way: way no1:
$(document).ready(function(){
$('#btn').click(function(){
$('#server_msg_modal').modal('show');
});
});
way no2:
$(document).ready(function(){
$('#btn').click(function(){
$('#server_msg_modal').modal('show');
});
});
way no3:
$('#server_msg_modal').modal({
show: 'true'
});
nothing is working... please help me.