For recommendations, the best are, ranked (if they actually know you)
Supervisor of a good job you've held who has a related background/holds a JD or LLM or graduate degree
Visiting Lecturer of some importance
Graduate student TA (even if they now have their degree)
...without knowing the title of the person who taught the online class, it's hard to say. If it's someone without a PhD or title, it probably won't carry much weight, but if you haven't got anyone else, it shouldn't hurt.
That's the thing with recommendations - they rarely help, but can hurt. One bad recommendation from anyone hurts more than three glowing recommendations help - because most recommendations are usually pretty glowing, or at least generically positive. They aren't what will differentiate you as an applicant, except in the rarest of cases. - Dani