In the process of learning Ajax requests using jQuery, I tried to load google home page on the click of a link. So I wrote something like:
$(\"#ajax\").click
First of all, I have to assume that you have a very good reason to do something that a link does by default with JavaScript...
The main reason is probably security: You can NOT access any data outside of the current domain from JavaScript.