New laws are going into effect in several states that require employers to publish salary ranges for job openings.