What are the origins of the word "Okay" (ok)?

It seems like a strange word, and it appears to be used in the same form in many different countries:)

Thank you:)
12 answers 12