How do books make you want to read on?

They leave you with a question that you want to know the answer to, "what happens next?"