javascript - How to make pop-up for error bootstrap? -


i trying make pop-up message error. error message displayed in website content. how can make in pop-up?

here current code:

  <div class="alert alert-danger display-none" id="add-item-error">              </div> 

just use following code view popup. use css styling

<script type="text/javascript">     $(document).ready(function(){         $("#add-item-error").modal('show');     }); </script> 

remember put code after adding required jquery files.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -