daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Feb 14th, 2018 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function modalRender(text) {
  2.     var modal = $("<div class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"alertModal\" aria-hidden=\"true\"></div>").append(
  3.         $("<div class=\"modal-dialog\"></div>").append(
  4.             $("<div class=\"modal-content\"></div>").append(
  5.                 $("<div class=\"modal-body\">"+text+"</div>")
  6.             )
  7.         )
  8.     );
  9.     modal.modal();
  10. }
  11. //ps.
  12. //dependence jQuery.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top