我正在尝试下载网站上的<code></code>标记之间的任何内容,不幸的是,选择节点"//code"返回空。我也不知道原因。这是我的密码: {
var html = @"https://www.aviationweather.govHtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocume
For the following example: http://jsfiddle.net/MhBTy/
为什么jQuery("html body div table")返回null,当然,当我检查对象的长度时然而,jQuery("html body div")返回了我想要的正确内容。我确信"table“存在于html源代码中,但是想知道为什么它返回null吗?