Use [id=fd] instead of #fd.