Javascript examples for jQuery Method and Property:get
Sending an url and staying on the same page
<html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <script src="https://code.jquery.com/jquery-1.8.2.min.js" type="text/javascript"></script> </head> /*from ww w. j a va2 s.co m*/ <body> <a href="#" id="myBtn">Click here!</a> <script type="text/javascript"> $(document).ready(function(){ $("#myBtn").click(function(){ $.get("http://your server"); }); }); </script> </body> </html>