请问 document.getElementByIdx("photo-url").focus()!=-1 是什么意思呀?除了-1,还有其他值吗

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/10 20:40:37
请问 document.getElementByIdx(

请问 document.getElementByIdx("photo-url").focus()!=-1 是什么意思呀?除了-1,还有其他值吗
请问 document.getElementByIdx("photo-url").focus()!=-1 是什么意思呀?除了-1,还有其他值吗

请问 document.getElementByIdx("photo-url").focus()!=-1 是什么意思呀?除了-1,还有其他值吗
把焦点放在某个部件上,=-1是加了个一旦出错的判断