0

I Have below code.

<ul class="giftcard-amount">
<!-- ko foreach: {data: amounts, as: 'amount'} -->
            <li class="giftcard-design-button-container"
                data-bind="css: {'active': !$parent.useRangeAmount() && ($parent.activeAmount().baseValue === amount.baseValue)}">
<button type="button" class="giftcard-design-button"
                        data-bind="click: $parent.changeAmount.bind($parent)">
                    <span data-bind="text: amount.amountFormatted"></span>
                </button>
             </li>
<!-- /ko -->
</ul>

I want to convert this <ul> <li> to drop-down select box. Pleas kindly help me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.