what is the origin of this term?
Here’s an (albeit somewhat inconclusive) Mailbag column on the question:
Three of my dictionaries confirm that jaywalking derives from jay a simple, stupid, or rustic person.
Y’see, Jay Leno goes walking on the streets of Burbank and finds idiotic people to interview. Hence, jaywalking.