We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
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');
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.