Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function modalRender(text) {
- var modal = $("<div class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"alertModal\" aria-hidden=\"true\"></div>").append(
- $("<div class=\"modal-dialog\"></div>").append(
- $("<div class=\"modal-content\"></div>").append(
- $("<div class=\"modal-body\">"+text+"</div>")
- )
- )
- );
- modal.modal();
- }
- //ps.
- //dependence jQuery.
Add Comment
Please, Sign In to add comment