次のコードは簡単なフォームです
<form action="search.html" method="get" accept-charset="utf-8" id="search-within-form"">
<input type="hidden" name="within" id="within" value="">
<input type="text" name="q" value="" id="search-within" autocomplete="off" class="search-within-results inactive" title="">
<input type="submit"/>
</form>
フィールドに検索用のテスト データを入力し、[送信] をクリックすると、表示される URL は次のとおりです。
/search.html?within=&q=テスト+データ+for+検索
しかし、私はtisのようなURLが必要です
/search.html?within=&q=検索用テストデータ
これは、Javaスクリプトのフォーム送信などを使用して実行できることを知っています.htmlを使用してこれを達成できる方法はありますか?
前もって感謝します。