I need to replace a value on the page based on what is selected in a dropdown. More specifically I need to fill in the "label" value. Here's the HTML:
<select class="item-number">
<option>Please select</option>
<option value="123" label="Description about 123">123</option>
<option value="456" label="Description about 456">456</option>
</select>
<span class="item-name">Description shows up here</span>
Now, if someone selects, say, option 123, I would need the text in the span to be replaced with "Description about 123". Is there a way to achieve this? I'm a JS/Jquery newbie and completely out of my depth here. ;)