Watch the Listening to Jazz online guitar lesson by Bruce Arnold from Jazz Guitar for Beginners

Usually learning all this comes from years of experience playing and listening to jazz. I've included a list of guitarists to listen to which will help you start to understand the music.

I also recommend you familiarize yourself with other great jazz instrumentalists to understand all aspects of the idiom.