Jquery mobile 1.3 data-role =“none”无法在ios设备上运行

时间:2013-09-30 04:24:32

标签: iphone jquery-mobile

我正在移动网站上工作,而data-role =“none”不仅适用于ios设备。我正在使用jqm 1.3,它可以在桌面上的所有浏览器上工作。以下是我的代码。 我已尝试过数据增强和数据角色,但没有运气。这是一个例子 http://jsfiddle.net/#&togetherjs=FLCenQhrc6

 <table style="width: 100%">
        <tr>
            <td style="width:95%">
                @Html.TextBoxFor(model => model.ZipCode, new { @type = "input", placeholder = "Enter zip or city and state", @class = "SearchInput"})
            </td>
            <td  style="width:5%" >
                <input type="submit"  id="myButton" name="submitButton" data-enhance="false" data-corners="false" data-role="none" class="SearchButtonInner" onclick="return Validate()" value="Search">
            </td>`enter code here`
        </tr>
    </table>

0 个答案:

没有答案