I have a very simple html file following: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>HTMLPage1</title> <script src=./bin/prototype.js type=text/javascript ></script> <meta name="vs_defaultClientScript" content="JavaScript"> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/ intellisense/ie5"> <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1"> <meta name="ProgId" content="VisualStudio.HTML"> <meta name="Originator" content="Microsoft Visual Studio .NET 7.1"> <script language =javascript > function hideme() { alert(''helllllll''); $(''Button1'').hide(); } </script> </head> <body MS_POSITIONING="GridLayout"> <INPUT id="Button1" style="Z-INDEX: 101; LEFT: 344px; POSITION: absolute; TOP: 336px" type="button" value="Button" name="Button1" onclick="hideme('''')"> </body> </html> ------------------------------------------------------------------------------------------------------------------------------ If I run the page with IE all works properly. If, however, I run the page from within VS''s IDE (2003 or 2005) then clicking on the button gives me an error "A runtime error has occured. Do you wish to debug? Line: 14 Error: Object expected. Line 14 is $(''Button1'').hide(); Again, this only happens with in the ide of VS. Has anyone ran into this problem. Of note: Win XP Pro 64. Thanks for any help. StanRedfish --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---