Swtiching from .attr() to .prop() to fix a Firefox problem. IE still not working.