should use prop() not attr() (for 4.3 branch)