我在Django的帮助下做服务器端呈现。在django模板中,我循环遍历从数据库获得的所有值。在jquery中,当选择单个值时,JS给出了从数据库获得的所有值,但我只想要选择的值。context=collections.OrderedDict(sorted(context.items()))
return render(request,'theme-list.html$('li#item_cat').on('click', function ()
我有web元素的唯一标识符,但Robot无法识别其路径(可能是我构建的路径错误)。这是唯一标识符id=app-header-stats-rogue,我还尝试将其定位为css=.app-header-stats-rogue div span.stat_value,我还尝试构建#app-header-stats-rogueHTML-<a id="app-header-stats-rogue" href="/ro