$(this).reset[0]とか
参考サイトの内容を転機するときにはより慎重に
上記ではまったく意味不明です
とかですよね?
流れ的にはこう
javascript
1<script>
2$(function(){
3 $('#btn_set').on('click',function(){
4 $(':text').eq(0).val("a").end().eq(1).val("b").end().eq(2).val("c");
5 });
6 $('#btn_reset1').on('click',function(){
7 $(this).closest('form').reset(); // error
8 });
9 $('#btn_reset2').on('click',function(){
10 $(this).closest('form').trigger('reset'); //普通はこれ
11 });
12 $('#btn_reset3').on('click',function(){
13 $(this).closest('form')[0].reset();
14 });
15 $('#btn_reset4').on('click',function(){
16 $(this).closest('form').get(0).reset();
17 });
18});
19</script>
20<form>
21<input type="text" value=""><br>
22<input type="text" value=""><br>
23<input type="text" value=""><br>
24<input type="button" value="set" id="btn_set"><br>
25<input type="button" value="reset1" id="btn_reset1">
26<input type="button" value="reset2" id="btn_reset2">
27<input type="button" value="reset3" id="btn_reset3">
28<input type="button" value="reset4" id="btn_reset4">
29</form>
3,4はjQueryオブジェクトからDOMを取り出してエレメントのメソッドを
実行しています