I want to use jQuery to change the text of the option values with 1 and 0 from true and false to Yes and No. I've tried to do this with the following jQuery code:
<select id="FullYear" class="yesno" name="FullYear"> <option value="1">true</option> <option value="0">false</option> <option value="?">Uncertain</option> </select>
I've tested this code with a static select option (populated in the html code -- not programatically) and it works, but it does NOT work on the select whose options are populated by binding to the cfc.
$('.yesno [value="1"]').text('Yes'); $('.yesno [value="0"]').text('No');
From novice to tech pro — start learning today.