Lambneck Posted February 20, 2009 Share Posted February 20, 2009 Im pretty new to javascript and I was wondering how to make a clickable table row load a dynamic page. Does anyone know how to do this? Something like: <tr onclick="DoNav('topic.php?id='.$row['trek_id'].'"');"> Link to comment https://forums.phpfreaks.com/topic/146134-solved-clickable-table-row-link/ Share on other sites More sharing options...
Lambneck Posted February 20, 2009 Author Share Posted February 20, 2009 Sorry forgot to put the echo. these would be dynamically generated table rows with php but not sure how to code it properly. i just want the table rows to be clickable. Anyone know how to do this? echo '<tr onclick="DoNav('topic.php?id='.$row['trek_id'].')";>'; Link to comment https://forums.phpfreaks.com/topic/146134-solved-clickable-table-row-link/#findComment-767188 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.