Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- var someText = '<?=$someText?>'
- function showText () {
- document.getElementById('container').innerHTML = someText
- }
- </script>
- <a href="#" onclick="showText()">Link</a>
- <table name="tblName">
- <tr>
- <td id="container">
- </td>
- </tr>
- </table>
Add Comment
Please, Sign In to add comment