最近搜索
没有最近搜索

Rasmus Hedback
已加入2023年3月14日
·
最后活动2023年10月25日
关注
0
关注者
0
活动总数
3
投票
1
订阅
1
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Rasmus Hedback
Rasmus Hedback 进行了评论,
社区评论 Q&A - Help center and community
Another approach would be to let the form build the correct query string when submitting it, simply add a hidden input by adding this to script.js
const search_form = document.querySelector('form.search');
const input = document.createElement('input');
input.setAttribute('type', 'hidden');
input.setAttribute('name', 'type');
input.setAttribute('value', 'knowledge_base');
search_form.appendChild(input);
查看评论 · 已于 2023年10月25日 编辑 · Rasmus Hedback
0
关注者
1
投票
0
评论