I think your src url is not valid. check the same. It is /javascripts/ur_file.js for default rails structure.
~ N a R e N On Tue, Jul 7, 2009 at 11:50 AM, kevin <ke...@ig.utexas.edu> wrote: > > Hi. I just downloaded 1.8.2 and was attempting to use Sortable. I > think I have it right, but I get the error > > Webpage error details > > User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/ > 4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR > 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR > 3.5.30729) > Timestamp: Tue, 7 Jul 2009 06:17:17 UTC > > Message: 'Sortable' is undefined > Line: 26 > Char: 2 > Code: 0 > URI: http://www.ig.utexas.edu/pubs/draggable.js > > That line is > > Sortable.create(obj); > > The odd thing is that I get this message with my js files are included > as such... > > <script type="text/javascript" src="js/prototype.js"></script> > <script type="text/javascript" src="js/scriptaculous.js"></script> > > , but if I include the scriptaculous files as > > <script type="text/javascript" src="http://script.aculo.us/ > prototype.js <http://script.aculo.us/%0Aprototype.js>"></script> > <script type="text/javascript" src="http://script.aculo.us/ > scriptaculous.js <http://script.aculo.us/%0Ascriptaculous.js>"></script> > > then the script runs correctly. Thoughts? > > Kevin > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---