How to open bootstrap modal popup on datatables tr click?

·

,
bootstrap

Hello to all, welcome to therichpost.com. In this post, I will tell you, How to open bootstrap modal popup on datatables tr click?

Here is working code for datatables tr click:

$(document).on('click', '#data-tableid tbody tr', function() {       
$("#modalpopupid").modal("show");    
});

 There are so many tricks in datatables and I will let you know all. Please do comment if you any query related to this post. Thank you. Therichpost.com

Comments

2 responses to “How to open bootstrap modal popup on datatables tr click?”

  1. jasmeen Avatar
    jasmeen

    working code good..

    1. therichpost Avatar
      therichpost

      thank you

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.