jq div display script webkit issues
- by Tom
$(document).ready(function() {
$('#chekboxes a').click(function(e) {
$('.visible').removeClass('visible').addClass('invisible');
var thediv = $(this).attr('href');
$(thediv).removeClass('invisible').addClass('visible');
})
});
This simple bit of jq works in FF and not in Chrome and Safari.
Despite googling widely, I cannot tell whether there's a way to make it work in Safari and Chrome or not.
Does anyone know a fix or what is wrong ?
Thanks, Tom