I have a list of audio files displayed in my Django webpage displayed using ... tag. When a registered user clicks the play button of the audio file, it should start playing the audio and behind the scene, I want to store the audio file id as well as the user details in the database, like submission of a Django form. But after the user clicks the play button, I don't want the page to get refreshed, neither do I want the audio file to be paused. I guess this has to do something with the Ajax, but I can't figure it out.