在下面的示例中,我需要在链接按钮单击 (List, range) 中将模型作为参数传递。如何实现这一点
<div data-bind = "foreach:modelList" >
<div class="BDCRQuery">
<div class= "Body" >
<div>
<select id ="SELECT" data-bind="options: Attributes, optionsText: 'AttributeName', optionsValue: 'Id', optionsCaption: 'Select Attribute...',value : SelectedAttribute"></select>
</div>
<div>
<span>with any of the following values:</span>
</div>
<div class="option">
<a href="#" id = "List" class="link">List</a> | <a href="#" id= "Range" class="link">Range</a>
</div>
</div>
</div>
</div>