Looks like you have an extra " there see this line: <UL id="listB" class="connectedSortable" ">
Might be a problem On Oct 16, 10:10 am, wogahnct <cheryl.jo...@yale.edu> wrote: > I have a very simple script that fails on macintosh only (works on PC > browsers) when I include the ajax.js file. I am not even using it > (not in my simple script anyway, shown below). When I include that > file, the drag and drop no longer works on a mac. > > Any help is greatly appreciated > > You can see my two examples here: > > WORKS: http://cmi2.yale.edu/test/cjohns/working_example.html > DOES NOT WORK ON MAC: > http://cmi2.yale.edu/test/cjohns/nonworking_example.html > > The code is as follows: > <HTML> > <BODY> > > <!-- THIS NEXT LINE IS THE ONE THAT STOPS THE SCRIPT FROM WORKING ON > MACINTOSH --> > <!-- <script type="text/javascript" src="scripts/ajax.js" > charset="utf-8"></script> --> > > <script type="text/javascript" src="scripts/jquery-1.3.2.min.js"></ > script> > <script type="text/javascript" src="scripts/jquery- > ui-1.7.2.custom.min.js"></script> > > <UL id="listA" class="connectedSortable"> > <LI id=Aitem1>A - Item One</LI> > <LI id=Aitem2>A - Item Two</LI> > <LI id=Aitem3>A - Item Three</LI> > </UL> > > <UL id="listB" class="connectedSortable" "> > <LI id=Bitem1>AB - Item One</LI> > <LI id=Bitem2>AB - Item Two</LI> > <LI id=Bitem3>AB - Item Three</LI> > </UL> > > <script type="text/javascript" charset="utf-8"> > > $("#listA").sortable({ > connectWith: ['.connectedSortable'] > }); > $("#listB").sortable({ > connectWith: ['.connectedSortable'] > }); > > </script> > </BODY> > </HTML> > > Cheryl Johns > Yale University