Link to home
Start Free TrialLog in
Avatar of dshrenik
dshrenikFlag for United States of America

asked on

Pass a reference to a dropdown menu

Please let me know how I can pass a reference to a dropdown menu as a parameter to a function in JavaScript.

If possible, please provide some sample code. Thanks!
Avatar of leakim971
leakim971
Flag of Guadeloupe image

<select onchange="myfunction(this.value)">
Avatar of dshrenik

ASKER

I want to pass the whole dropdown menu as a parameter (not just its value).
ASKER CERTIFIED SOLUTION
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial