(a) A trial court of this state may exercise jurisdiction to restrain or enjoin a violation of this chapter.
(b) The defendant may demand a trial by jury for an alleged violation of an injunction or restraining order under this section.