Please open the fiddle and read the comments to understand the concept or just copy paste it and use it. As simple as that

How to use jQuery with JavaScript

jQuery On-Click function make alert

jQuery On-Click opens a div

JavaScript replace the text using document.getElementById

How to declare variable in JavaScript

How to get output in jQuery using dropdown and onchange function