Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <!-- My simple example source for jQuery -->
- <head><title>test Js</title></head>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- log("loaded");
- $("#run").click(function() {
- log("clicked");
- });
- });
- function log(msg) {
- $("#console").prepend('<div>' + msg + '</div>');
- }
- </script>
- <body>
- <h1>test Js - GET method in jQuery</h1>
- <button id="run">RUN</button>
- <div id="console"></div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment