LoginSignup
1
1

More than 5 years have passed since last update.

google のサイト内検索に javascript を使わずに form からの飛ばす方法

Last updated at Posted at 2015-05-20

下記で google のサイト内検索の結果ページの飛ぶ。
target="_blank" は必要に応じて。

      <form action="https://www.google.co.jp/search" target="_blank" class="google-search">
        <input type="hidden" name="q" value="site:http://ndinc.jp/">
        <input type="text" name="q">
      </form>
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1