Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select name="ct100$rptCurrentData$ct101$ddlIncludeData" class="clsTypes"
- id="ctl00_rptCurrentDatas_ddlIncludeData_0" style="background-color: transparent;">
- <option style="background-color: transparent;" value="-1">Select</option>
- <option style="background-color: transparent;" value="1">Activity</option>
- <option style="background-color: rgb(231, 251, 189);" value="2">Proposal</option>
- <option style="background-color: transparent;" value="3">Both</option>
- </select>
- $(this).find('option:selected').css("backgroundColor", '#E7FBBD');`
- $(this).find('option:selected').css('background-color')); //Output-rgb(10, 36, 106)
- $(this).find('option:selected').css('backgroundColor')); //Output-rgb(10, 36, 106)
- $(this).find('option:selected').attr("style"));
- //Output- background-color: rgb(231, 251, 189);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement