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'].'"');"> Quote Link to comment 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'].')";>'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.