如何使用javascript来关注Google自定义搜索引擎字段?

问题描述 投票:0回答:1

我已经尝试通过getElementById方法获取元素,但是-按预期,它没有用。

javascript html forms search input
1个回答
0
投票

尝试gsc-input:focus{};,在大多数情况下,gsc-input是添加到Google自定义搜索的类。

© www.soinside.com 2019 - 2024. All rights reserved.