I''m getting an uncaught exception: script.aculo.us requires the Prototype JavaScript framework >= 1.5.0 i''m running the latest versions of everything. before that exception i''m getting: unexpected end of XML source all i''m doing in the source is: <script src="js/prototype.js" type="text/javascript"></script> <script src="js/scriptaculous.js" type="text/javascript"></script> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hey there, Since per your description there *is* no problem, you''ll have to put up an online reproduceable case for us to look up and find out the small detail you may have missed. -- Christophe Porteneuve a.k.a. TDD "[They] did not know it was impossible, so they did it." --Mark Twain Email: tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
ashirazi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Dec-05 17:24 UTC
Re: Errors with simple stuff!
I''m having the same issue too. For some reason it works fine when run
locally, but when deployed to IIS i get the uncaught exception. I also
get an error: Ajax.Autocompleter is not a constructor.
Here''s my code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<script src="web/prototype.js" language="javascript"
type="text/javascript"></script>
<script src="web/scriptaculous.js"
language="javascript"
type="text/javascript"></script>
<style type="text/css">
div.auto_complete {
position:absolute;
width:250px;
background-color:white;
border:1px solid #888;
margin:0px;
padding:0px;
}
li.selected { background-color: #ffb; }
</style>
</head>
<body>
<input id="txt" type="text"
style="background-color:Aqua" />
<div id="magic" class="auto_complete"
style="background-color:
Yellow"></div>
<script type="text/javascript">new
Ajax.Autocompleter("txt",
"magic", "_autocomplete_result.html", {tokens:
'',''} );</script>
</body>
</html>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
ashirazi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Dec-05 18:03 UTC
Re: Errors with simple stuff!
Never mind I got it to work. The issue was that the damn IIS was not reloading the new files but was pulling the cache! Thanks a lot IIS!!!!! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---