I can't get this jQuery to work in Fire Fox. I have been told it works in Oprea and IE9. I also know it works in Chrome & Safari.
// JavaScript Document
$ (function () {
$('#filterBox1').change(function() { // when value of filterBox1 changes
var selection = $(this).val(); // get it's value
if (selection == 'Windows') { // if windows is selected from OS
$(".tb-container:not(:has(img.windows))").hide(); // Hide all DIVs that do not contain img.windows
}
if (selection == 'Mac') { // if windows is selected from OS
$(".tb-container:not(:has(img.mac))").hide(); // Hide all DIVs that do not contain img.windows
}
});
});
Test Site: http://www.zanime.net/test