我找不到通过Jsoup选择范围editItem:hello
的方法。如何通过Jsoup选择表单中的元素?
<body>
<form id="editItem" name="editItem" method="post" action="/Project/gub.xhtml" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="editItem" value="editItem" />
<span id="editItem:hello">Hello Jsoup-World!</span>
</form>
</body>
我尝试了很多从Jsoup Selector Syntax Doc很好看的可能性,但它从来没有解决。 更改HTML不是一个选项。
不错!谢谢! :) – Lester