File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 6
6
< title > jQuery Filter JSON Plugin</ title >
7
7
< script type ="text/javascript " src ="http://code.jquery.com/jquery-1.6.min.js "> </ script >
8
8
< script type ="text/javascript " src ="http://ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js "> </ script >
9
- < script type ="text/javascript " src ="../src/filterJSON.plugin.min. js "> </ script >
9
+ < script type ="text/javascript " src ="../src/filterJSON.plugin.js "> </ script >
10
10
< script type ="text/javascript " src ="assets/sample.json "> </ script >
11
11
< link rel ="stylesheet " type ="text/css " href ="assets/style.css " />
12
12
</ head >
24
24
< td > </ td >
25
25
< td > < input type ="radio " name ="sample-select " value ="sample2 "> Sample2</ td >
26
26
</ tr >
27
+ < tr >
28
+ < td > </ td >
29
+ < td > < input type ="radio " name ="sample-select " value ="sample3 "> Sample3</ td >
30
+ </ tr >
27
31
</ table >
28
32
</ td >
29
33
< td class ="input-field text inputBorder ">
91
95
} ) ;
92
96
93
97
// selecting the first json sample
94
- $ ( ":input[name='sample-select']:first " ) . click ( ) ;
98
+ $ ( ":input[name='sample-select']:last " ) . click ( ) ;
95
99
96
100
$ ( "#filterJSON" ) . click ( function ( ) {
97
101
var startTime = new Date ( ) . getTime ( ) ,
You can’t perform that action at this time.
0 commit comments