Database connection with jquery mobile for an absolute beginner

Database connection with jquery mobile for an absolute beginner

I am currently developing my first jquery mobile site.
Now I am trying to get a Database connection to get data from the server.
All references I've found are no help to me as they are to complicated.

Could anyone give me an easy example of how to get a database connection to retrieve data to use in the .js - file.
That would help a lot!

Many thanks