jquery选择菜单框没有显示

时间:2018-04-09 09:09:01

标签: jquery

我的问题是我无法在我的页面中选择菜单以显示时间菜单列表。我试着改变代码。仍然无法让它工作。如果我删除脚本链接1.12.1 / jquery-ui.js然后显示选择菜单。然后我的paypal商店页面项链接停止工作。有什么我可以做的比你更好地工作。

<!DOCTYPE html>

                      如                                                                                                                 

    

    <div id="contactForms">
        <div class="container">

                    <label>Options:</label>
                    <select name="option" id="option" data-native-menu="false" data-inline="true" >
                        <option selected="selected">T</option>
                        <option>irs</option>
                    </select>

                    <label for="date">Select a Date: </label>
                    <input name="date" type="date" id="date" />

                    <label>Select a Time:</label>
                    <select name="time" id="time">
                        <option selected="selected">8.30</option>
                        <option>9:00</option>
                        <option>9:30</option>
                    </select>

                    <label>Name:</label>
                    <input type="text" name="names" id="names" required>

                    <label>Address:</label>
                    <input type="text" name="address" id="address">

                    <label>Town:</label>
                    <input type="text" name="town" id="town">



                <label>D:</label>
                <p>We</p>
                <select name="drop" id="drop">
                    <option selected="selected">No</option>
                    <option>Yes</option>
                </select>

                <label>Col:</label>
                <p>Too</p>
                <select name="collection" id="collection">
                    <option selected="selected">No</option>
                    <option>Yes</option>
                </select>

                <p>
                    <label>Lo:</label>
                <p>Ca</p>
                <select name="loan" id="loan">
                    <option selected="selected">No</option>
                    <option>Yes</option>
                </select>
                </p>
                <br>
                <p class="full">
                    <button type="submit">Submit</button>
                </p>
    </div>
    </head>
</div>

image

1 个答案:

答案 0 :(得分:0)

为什么要把整个代码放在头标记上?尝试将代码移入

 <body></body>

身体标签