Try this instead:

<script type="text/javascript" src="jquery.js" ></script>
<script>
  // we will add our javascript code here
$(document).ready(function(){
  $("a").click(function() { alert("Hello world!"); });
});

</script>

--John


On Tue, Mar 10, 2009 at 10:43 AM, rayglaser <[email protected]>wrote:

>
> I am sory to say that the getting started with JQuery Hello World
> example doesn't work? When I click the link - IE7 brings up a file
> manager window of the directory containing the program source,
> Here is the exact copy of the html code .. What don't I know ?
>
> <html >
> <head>
>    <title>Hello Page</title>
>
> <script type="text/javascript" src="jquery.js" >
>   // we will add our javascript code here
> $(document).ready(function()
> {
>   $("a").click(function() { alert("Hello world!"); });
> });
>
> </
> script>
>
> </head>
>
> <body>
>  <!-- we will add our HTML content here -->
>  <a href="">Link</a>
>
> </body>
> </html>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to