There are lots of ways from which you can generate online money. In some cases you will be paid hourly. In some cases you will be working on the projects and then paid. Some of the ways are given below.
Freelancing
Stock market trading
Doing surveys
Becoming a consultant
Blogging
Affiliate marketing
Virtual assistant