Sfoglia il codice sorgente

Fixed default number of records

Ahmed Haque 8 anni fa
parent
commit
dc89a9c44f
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      NYTExample.html

+ 2
- 1
NYTExample.html Vedi File

48
 					    <label for="pwd">Number of Records to Retrieve:</label>
48
 					    <label for="pwd">Number of Records to Retrieve:</label>
49
 						<select class="form-control" id="numRecordsSelect">
49
 						<select class="form-control" id="numRecordsSelect">
50
 							<option value=1>1</option>
50
 							<option value=1>1</option>
51
-							<option value=5>5</option>
51
+							<!-- Setting the option for 5 as default -->
52
+							<option value=5 selected>5</option>
52
 							<option value=10>10</option>
53
 							<option value=10>10</option>
53
 						</select>			  
54
 						</select>			  
54
 					  </div>
55
 					  </div>