Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script type="text/javascript">
- function ajax(url,id){
- if (window.XMLHttpRequest)
- xmlhttp=new XMLHttpRequest();
- }
- else
- xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
- }
- xmlhttp.onreadystatechange=function()
- {
- if (xmlhttp.readyState==4 && xmlhttp.status==200)
- {
- document.getElementById(id).innerHTML=xmlhttp.responseText;
- }
- }
- xmlhttp.open("GET",url,true);
- xmlhttp.send();
- }
- </script>
- </head>
- <body>
- <a href="" onClick="ajax("access.php?do=ajax_newuser",newuser);">Make an Account Now</a>
- <div id="newuser">
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment