It doesn't seem to matter if I'm using relative or absolute paths. I know the file is being included as I can put an alert which comes up on the page load.
Kevin On Jul 7, 10:06 am, Narendra sisodiya <naren.sisod...@gmail.com> wrote: > 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- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---