Fixes #3934: Added attr() method instead prop() to get valid action url.