Mark,

I think you are saving the document as rich text format (RTF).
Try pasting the code sample into notepad and save it from there.

Once that works, make sure that in whatever editor you're using you save
things as 'plain text'.

Hope that helps
--rob


On 10/24/07, mark <[EMAIL PROTECTED]> wrote:
>
>
> Hi All,
>
> I am a new person to the world of jQuery.
>
> I am having a problem in my first program only. Please tell me what is
> wrong over here.
>
> My code is :
>
> <html><head>
> <script type="text/javascript" src="jquery.js"></script>
> <script type="text/javascript">
>         $(document).ready(function() {
>    $("a").click(function() {
>      alert("Hello world!");
>    });
> });
> </script></head>
> <body>
>         <a href="http://google.com";>google</a>
> </body>
> </html>
>
> Output which I am getting is :
>
> {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss
> \fcharset0 Arial;}} {\*\generator Msftedit
> 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 \par \par \par \par \tab
> google\par \par \par }
>
>


-- 
Rob Desbois
Eml: [EMAIL PROTECTED]
Tel: 07946 705987
"There's a whale there's a whale there's a whale fish" he cried, and the
whale was in full view.
...Then ooh welcome. Ahhh. Ooh mug welcome.

Reply via email to