小编Squ*_*esh的帖子

仅IE中的InvalidCharacterError

我们有一个订单表格,使用ziplookup功能,当邮政编码输入到一个字段中时,城市,县,州和邮政编码然后输入到同一个字段中.

    <tr>
        <td class="formLabel" id="<%=prefix%>.ZipCodeLookup.label">Zip Code</td>
        <td class="formColon">:&nbsp;</td>
        <td class="formData">
            <div id="zipOutput"></div>
            <input type="hidden" id="<%=prefix%>.city" name="<%=prefix%>.city" value="<%=City%>" />
            <input type="hidden" id="<%=prefix%>.county" name="<%=prefix%>.county" value="<%=County %>" />
            <input type="hidden" id="<%=prefix%>.state" name="<%=prefix%>.state" value="<%=State%>" />
            <input type="hidden" id="<%=prefix%>.zip" name="<%=prefix%>.zip" value="<%=Zip %>" />
        </td>
    </tr>
Run Code Online (Sandbox Code Playgroud)

IE上的错误只有:

lib.functions.dom.createInput // type = text name = shipping.ZipCodeLookup id = shipping.ZipCodeLookup // InvalidCharacterError

lib.objects.window.LookupWidget.createInputField()//无法设置undefined或null引用的属性'value'

html javascript internet-explorer asp-classic

6
推荐指数
1
解决办法
9353
查看次数

标签 统计

asp-classic ×1

html ×1

internet-explorer ×1

javascript ×1