how to change or replace class attr?

i have problem to display option class default selected when load page and to replace class default?
first i’m a newbie. this my code

function myView(sel) {

<div id="colomView" class="">
<select onchange="myView(this);">
<option selected="selected" value="redBG">redBG</option>
<option value="blueBG">blueBG</option>

please help solve my problem? thanks

Source: jquery

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.