ユーザーが選択したオプションに応じて、フォーム コンテンツを追加しようとしています。
たとえば、ユーザーがフォーム 1 オプションを選択した場合、ユーザーがオプション 2 を選択した場合とは異なるコンテンツがフォームに取り込まれます。
<select>
<option>Form 1</option>
<option>Form 2</option>
</select>
<form>
Here we get either form 1 content or form 2 content depending on the select option selected by user.
</form>
//Form 1 content
<input type="text" value="something" />
<input type hidden="something here" />
//Form 2 content
<input type="text" value="something else here" />
<input type hidden="something else here" />
jqueryを使用してこれを行うにはどうすればよいですか?