Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <head>
- <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
- <script>
- $(document).ready(function() {
- $("#aaa").click(function() {
- $("#bbb").html("your text");
- });
- });
- </script>
- </head>
- <body>
- <table>
- <tr>
- <td><input type="button" value="btn" id="aaa"></td>
- <td id="bbb">some text</td>
- </tr>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement