Код: Выделить всё
Код: Выделить всё
[url=#message]Message[/url]
Код: Выделить всё
$.ajax({
type : 'POST',
url : "AjaxUpdate/get_modal",
cache : false,
success : function(data){
if(data){
$('#modal_target').html(data);
//This shows the modal
$('#form-content').modal();
}
}
});
Код: Выделить всё
[url=#form-content]Modal powers, activate![/url]
Код: Выделить всё
[url=#]Nah.[/url]
Код: Выделить всё
TypeError: $(...).modal is not a function
Подробнее здесь: https://stackoverflow.com/questions/270 ... trap-modal