Assume my homepage has a button and a textbox. When I press the button, the textbox would show the page source code of www.google.com (or any other web page source code)

Of course, I haven't got the page source code before hand, or else I can just copy and paste the page source code to the textbox...

Would you please tell me how to use javascript to do that?