1

我在 Firefox 中有一个奇怪的行为(在其他浏览器中它工作正常):

我有一堆字段,我想用键来浏览。但不幸的是,这并不适用于所有领域。在某些情况下,您可以进入,但是一旦您到达那里,一切都会被卡住,您既不能前进也不能返回。

有趣的是,如果我用 firebug 检查字段并通过添加空格字符(或其他任何内容)编辑特定的输入字段并返回,则通过字段的选项卡工作正常。我真的不明白为什么会这样。当我们使用backbone.js时,它甚至可能与主干而不是firefox有关......

下面的代码显示了生成的 HTML 输出。此选项卡问题仅在涉及输入字段时发生。选择部分工作正常。

<table width="100%" class="display bill">
    <thead>
        <tr>
            <th class="field-quantity">Quantity</th>
            <th class="field-price">Price</th>
            <th class="field-total">Total</th>
        </tr>
    </thead>
    <tbody class="list">
        <tr>
            <td class="bbf-field field-quantity numeric">
                <span class="editor">
                    <input type="number" value="1" class="" step="any" name="quantity" id="c378_quantity">
                </span>
            </td>
            <td class="bbf-field field-price numeric">
                <span class="editor">
                    <select id="c378_price" name="price">
                        <option value="4">64.00</option>
                    </select>
                </span>
            </td>
            <td class="bbf-field field-total numeric">
                <span class="editor">
                    <input type="text" readonly="readonly" name="total" id="c378_total">
                </span>
            </td>
        </tr>
    </tbody>
</table>
4

0 回答 0