Today one of my colleague faced an issue with Thickbox. He was using “rel” tag to group images and show in gallery. Code was working fine but suddenly it stopped working after updating the jQuery library to latest version(1.4). After lot of debugging we found the issue. Below line throws an exception
“unrecognized expression: “.
TB_TempArray = $("a[@rel="+imageGroup+"]").get();
Issue was with “@” selector which was not supported in latest jQuery. We had replaced it and finally got the code working.
TB_TempArray = $("a[rel="+imageGroup+"]").get();
Hope this may help someone
#1 by Suneeth - February 15th, 2010 at 19:50
Thanks for this information
#2 by Jez - March 11th, 2010 at 20:28
Perfect, saved me hours of frustration
#3 by BT - April 23rd, 2010 at 13:22
Perfect!!! Thanks a lot. You’ve really helped me.
#4 by Osama Elsayed - April 28th, 2010 at 03:36
You are awesome