As you can see it is just a simple HTML form with a simple
drop down box called "cd" .The paragraph below the form
contains a div tag called "txtHint". The div is used as a
placeholder for information retrieved from the web server.
When the user select data, a function called "showCD" is
executed. The execution of the function is triggered by the "onchange"
event of the javascript. In other words: Each time the user change the value in
the drop down menu box, the function showCD is called.
The JavaScript code is given below |