Quantcast
Channel: CodeProject Latest postings for ASP.NET
Viewing all articles
Browse latest Browse all 3938

Modal show information

$
0
0
Hi,
I need help to show information in modal.

<pre><divclass="modal fade"id="Modalpopup"onclick="Editar"tabindex="-1"aria-labelledby="exampleModalLabel"aria-hidden="true"><divclass="modal-dialog"><divclass="modal-content"><divclass="modal-header"><h5class="modal-title"id="exampleModalLabel">Modal title</h5><buttontype="button"class="close"data-dismiss="modal"aria-label="Close"><spanaria-hidden="true">×</span></button></div><divclass="modal-body">

            Row ID

        </div><divclass="modal-footer"><buttontype="button"class="btn btn-secondary"data-dismiss="modal">Close</button><buttontype="button"class="btn btn-primary">Save</button></div></div></div>


Function Event click:

eventClick: function (events) {

           $('#Modalpopup').modal();

       },


<pre><script>function Editar(id) {window.location.href = "../Agenda" + id;
}


I have a error in my last code because i use this for show in new page. And now i want show in modal.

Viewing all articles
Browse latest Browse all 3938

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>