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');
|using js script I am trying to create a folder and copy a file||7||32|
|Need to click button twice to get results||2||34|
|jquery - show / hide div depending on day and time||19||31|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
20 Experts available now in Live!