jQuery实现下拉框默认选中

<form class="form-inline" method="post" action="/score_result/">
        <input type="hidden" name="csrfmiddlewaretoken" value="UIbksfQRejaZFuAByesMRE9rtyGZgfJmUWRyONLqF121IqjkunGxnihnMAbvrOE3">
        <div class="form-group">
            <label for="exampleInputEmail2">选款批次:label>
            
            <select name="selection_batch" id="selection_batch" class="form-control">
                
                    <option value="0814">0814option>
                
                    <option value="0808">0808option>
                
                    <option value="0810">0810option>
                
                    <option value="0811">0811option>
                
                    <option value="0807">0807option>
                
            select>
        div>
        <div class="form-group">
            <label for="exampleInputName2">类目:label>
            <select name="category" id="category" class="form-control">
                
                    <option value="小脚裤">小脚裤option>
                
                    <option value="阔腿裤">阔腿裤option>
                
                    <option value="半身裙">半身裙option>
                
                    <option value="运动裤">运动裤option>
                
                    <option value="哈伦裤">哈伦裤option>
                
                    <option value="牛仔外套">牛仔外套option>
                
                    <option value="工装裤">工装裤option>
                
            select>
        div>
        <button type="submit" class="btn btn-default">查询结果button>
    form>
    

 

你可能感兴趣的:(jQuery实现下拉框默认选中)