Laws went into effect in California and Washington state earlier this year that require companies to post salary ranges as part of their job listings.