Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML <select> what is the name of on select event?

Does the HTML "select" element have an on select event? what exactly is the name of the event?

like image 439
Julius A Avatar asked Oct 28 '08 11:10

Julius A


People also ask

What is name in select HTML?

The name attribute specifies the name for a drop-down list. The name attribute is used to reference elements in a JavaScript, or to reference form data after a form is submitted.

What is select event?

The select event fires when some text has been selected.

Can select tag have a name?

The name attribute assigns a name to the select element. Unlike id, the name does not have to be unique across the page. This attribute is used as reference for JavaScript and for form data submission. Note: Select elements must have a name to participate in form submission.


1 Answers

Is onchange what you're looking for?

like image 194
Jonny Buchanan Avatar answered Sep 26 '22 15:09

Jonny Buchanan