Horje

Example of HTML onchange Event Attribute

Here executes a JavaScript when a user changes the selected option of a <select> element.

index.html
Example: HTML
 <select onchange="myFunction()"> 

Output should be:

Example of HTML onchange Event Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Form Events Attribute
Uploaded by:
Admin