iOS ios与js交互,获取webview完整url,title,获取元素并赋值跳转
来源:互联网 发布:加钱不发顺丰 淘宝 编辑:程序博客网 时间:2024/06/14 22:24
查看原文:http://www.heyuan110.com
下载:http://download.csdn.net/detail/heyuan110/4420050
附上document、location、body 属性方法 JS 对象
document:属性
document.title
document.bgColor
document.fgColor
document.linkColor
document.alinkColor
document.vlinkColor
document.URL
document.fileCreatedDate
document.fileModifiedDate
document.fileSize
document.cookie
document.charset
document:方法
document.write()
document_createElement_x_x(Tag)
document.getElementByIdx_x_x(ID)
document.getElementsByName(Name)
document.body.a(oTag)
body:子对象
document.body
document.body.bgColor
document.body.link
document.body.alink
document.body.vlink