|
[其他]
使用pda进入focus使用readonly属性还是弹起软键盘
[复制链接]
api.setFocus({
inputId: 'password',
focus: true
});
$api.attr(document.getElementById('password'),'readonly', 'readonly')
console.log(document.getElementById('password'))
$api.removeAttr(document.getElementById('password'),'readonly');
当进入页面后focus,改变input的readonly,pda还是会弹起软键盘,这要如何解决?
|
|