Button 不可选择的文本框=';在';在ie中按tab键从上一个文本字段中选择
Button 不可选择的文本框=';在';在ie中按tab键从上一个文本字段中选择,button,input,tabs,focus,selected,Button,Input,Tabs,Focus,Selected,textboxwithunselectable='on'从上一个文本字段中选择ie for tab press tab press上的表单“input1”应转到“input3”,而不选择input2 < input name="input1" type="text" value="input1" / > < input name="input2" type="text" value="input2" unselectable="on" /> < input nam
textbox
withunselectable='on'
从上一个文本字段中选择ie for tab press
tab press上的表单“input1”应转到“input3”,而不选择input2
< input name="input1" type="text" value="input1" / >
< input name="input2" type="text" value="input2" unselectable="on" />
< input name="input3" type="text" />
< button>clickme< /button>
但它不起作用
另一种情况是,如果“input1”中的“input3”在按tab键时也是不可选择的,则应转到按钮/锚等
在
javascript
或jquery
或任何其他想法中的解决方案。仅在中定义tabindex=-1
< input name="input2" type="text" value="input2" unselectable="on" tabindex = -1 />
< input name="input2" type="text" value="input2" unselectable="on" tabindex = -1 />