【发布时间】:2019-06-14 21:31:41
【问题描述】:
我需要从页面的常规 URL 中查找/创建页面的 URL,以自动应用下拉项目之一中的选项。
在一个页面上,下拉菜单下提供了各种排序选项,我需要一个 URL 来自动加载已应用该特定排序选项的页面。
例如:
给定的页面是 - https://club.hihonor.com/in/honor%208x/361/forums.htm
当您在下拉列表中选择“最新帖子”选项时,内容会发生变化。
我需要一个应该在浏览器中输入的 URL,它会自动加载应用了“最新帖子”选项的内容,替换默认加载样式(最新)。
从页面的源代码中,我们得到:
由于“最新帖子”的 ID 是 4,在 ListSelect 选项下,我尝试了这些 URL,但它们都不起作用:
https://club.hihonor.com/in/honor%208x/361/forums.htm?listSelect=4https://club.hihonor.com/in/honor%208x/361/forums.htm#listSelect=4https://club.hihonor.com/in/honor%208x/361/forums.htm#list_topic&list-tool&listSelect=4https://club.hihonor.com/in/honor%208x/361/forums.htm#list_topic&list-tool&list-select=4
您可以看到我对此一无所知,只是在猜测。请告诉我哪个 URL 会直接加载按“最新帖子”排序的主题页面?
【问题讨论】:
标签: url html-select forms