Volvo Volvo Volvo
خرید بک لینک

Vote count: 0

This is a sample code:

<select>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="opel">Opel</option>
<option value="audi">Audi</option>
</select>

Now when i select an option, i want the minimized dropdown menu rectangle to change it's background color, highlighting the selected option.If i choose 'Saab', the rectangle should tu 'red', if i select 'volvo', the rectangle should tu 'green'. How can this be implemented?

asked 25 secs ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 20 فروردين 1395 ساعت: 14:19

صفحه بندی