我这个page并且有一个输入文本元素(输入PNR否):
<input class="form-control_custom input_text_custom" type="text" id="inputPnrNo" maxlength="10" value="" placeholder="Enter PNR No." onkeypress="return ((event.charCode >= 48 && event.charCode <= 57) || event.charCode == 0)" >
我已添加autocomplete
,如下所示:
<input class="form-control_custom input_text_custom" type="text" id="inputPnrNo" maxlength="10" value="" placeholder="Enter PNR No." onkeypress="return ((event.charCode >= 48 && event.charCode <= 57) || event.charCode == 0)" autocomplete="on">
但自动完成功能未开启。可能是什么问题?