[jQuery] Re: jQuery and Ajax conflicting only on macintosh?

2009-10-16 Thread George

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=Aitem1A - Item One/LI
         LI id=Aitem2A - Item Two/LI
         LI id=Aitem3A - Item Three/LI
 /UL

 UL id=listB class=connectedSortable 
         LI id=Bitem1AB - Item One/LI
         LI id=Bitem2AB - Item Two/LI
         LI id=Bitem3AB - 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


[jQuery] Re: jQuery and Ajax conflicting only on macintosh?

2009-10-16 Thread Johns, Cheryl

Thanks, good catch.

I actually found that I also needed to update the file I was using for ajax.js. 
 Once I updated to version 1.6.1 from www. Prototypejs.org, the problem went 
away!  Go figure!

Thanks George!

-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf 
Of George
Sent: Friday, October 16, 2009 3:11 PM
To: jQuery (English)
Subject: [jQuery] Re: jQuery and Ajax conflicting only on macintosh?


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=Aitem1A - Item One/LI
         LI id=Aitem2A - Item Two/LI
         LI id=Aitem3A - Item Three/LI
 /UL

 UL id=listB class=connectedSortable 
         LI id=Bitem1AB - Item One/LI
         LI id=Bitem2AB - Item Two/LI
         LI id=Bitem3AB - 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