Opening a document in mobile env

Opening a document in mobile env

This may be relevant to this forum,
I m using jquery mobile to build an application, from time to time I have to show documents such as pdf,doc,jpeg .. to user, normally this wouldnt be a problem but with jqeury and mobile involved, I have no clue.
By the way I m good with image files I guess, I tried and they are just working.
thx