Click on button to Show Data
Hello
I am very very new to Jquery and JS.
I made a form, where I have names in selection.
I want that When I select a Name for example John Cena , all my desired text data will show under it.
and when select othe rname for example Kane then Kane's data show.
how can we do it ?
Here is my HTML
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Jquery</title>
<script src="jquery-3.1.1.min.js"></script>
</head>
<body>
<form id="form1">
<select id="Name" name="names">
<option value="allnames">Name</option>
<option value="01">John Cena</option>
<option value="02">Kane</option>
</select>
</form>
</body>
</html>