Link to home
Start Free TrialLog in
Avatar of Courtney Whiting
Courtney WhitingFlag for United States of America

asked on

Removing prop() from a select option

I am attempting to add the disabled property when an option is selected to prevent users from trying to select it again and remove the property when the "X" icon is clicked.

Right now the prop removal works when only one option is added at a time but when multiple options are added the prop only gets removed off of the most recently added option.

Check JSFiddle for project
ASKER CERTIFIED SOLUTION
Avatar of Robert Schutt
Robert Schutt
Flag of Netherlands 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