javascript - How do I put a dialog box to pop up on any row I click -
i have code of table , want anywhere click on dialog box pop up. example, if have jazz 3 4 jazzy ram 5 7 ruth john 6 88 jujube that if click on 88 details john in dialog box or if click on ruth details ram. code <script type="text/javascript"> $('#tableitems').on('click', 'tr', function() { var row = $(this).find('td:first').text(); alert('you clicked ' + row); }); </script> <th style='width:75%;'>janurary</th> <th style='width:75%;'>february</th> <th style='width:75%;'>march</th> <th style='width:75%;'>april</th> <th style='width:75%;'>may</th> <th style='width:75%;'>june</th> <th style='width:75%;'>july...