uses prop() instead of attr()

jQuery 1.6+