show() function not working in IE8. Any ideas why?
The show function is not working on my website for IE 8. Possibly other versions of IE too, but I don't have a different Windows PC in order to test it. It works in other browsers (FF, Chrome, etc) on both Windows and Mac OS.
Below is a link to the page I'm having problems with:
When you make a choice in the "Select Your Sign Package" drop-down, an image of the sign should appear. It does not appear in IE8.
I'm using JQuery v1.7.2
My code basic code is:
function swapImage(image) {
hideAll();
if (image != "") {
$('#'+ image).show();
}
}
I also tried this as recommended on another site;
function swapImage(image) {
hideAll();
if (image != "") {
$('#'+ image).show();
if($.browser.msie) { // JQuery show works for all browsers but IE. This is a workaround.
$('#'+ image).css({"visibility":"visible"});
}
}
}
Thanks for any help you can provide.
John