|
|
1
2
使用AJAX感知技术,如
如果有多个标签,这将打印每个标签。 注意,waitForKeyElements使用jQuery选择器。 你 can测试 通过使用Greasemonkey、Tampermonkey、Violentmonkey或类似工具安装上述脚本,然后运行以下代码段:
然后您将看到: gwt-Label value: 2083236893 gwt-Label value: New label: 1 gwt-Label value: New label: 2 etc... 在浏览器控制台中。 |
|
2
1
如果您希望使用。jQuery中的text(),这可能更简单! 查看此链接: http://api.jquery.com/text/ 这将选择您的文本:
|