you are not hiding the form but the select here and isn't it a bit weird to hide the select while the button is still visible but disabled ? IMHO, we should either hide every JS related stuff or show all of them but disabled. For me, the second solution is much better.