Any person violating the provisions of this chapter may be enjoined by any superior court of competent jurisdiction upon an action for injunction, brought by the Attorney General, or any district attorney, county counsel, city attorney, or city prosecutor in this state, and the superior court shall, after proof of violation, issue an injunction or other appropriate order restraining such conduct.