I have a table with 12 columns. Each column having one dropdown as a value of "yes and "No". The default value in a dropdown is 'yes". I want to send the selected data while clicking on submit button.
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
</head>
<style>
table {
border-collapse: collapse;
margin:0 auto;
}
table, td, th {
border: 1px solid black;
}
</style>
<body>
<table>
<tr>
<th>Month 1</th>
<th>Month 2</th>
<th>Month 3</th>
<th>Month 4</th>
<th>Month 5</th>
<th>Month 6</th>
<th>Month 7</th>
<th>Month 8</th>
<th>Month 9</th>
<th>Month 10</th>
<th>Month 11</th>
<th>Month 12</th>
</tr>
<tr>
<td><select>
<option>Yes</option>
<option>No</option>
</select></td>
<td><select>
<option>Yes</option>
<option>No</option>
</select></td>
<td><select>
<option>Yes</option>
<option>No</option>
</select></td>
<td><select>
<option>Yes</option>
<option>No</option>
</select></td>
<td><select>
<option>Yes</option>
<option>No</option>
</select></td>
<td><select>
<option>Yes</option>
<option>No</option>
</select></td>
<td><select>
<option>Yes</option>
<option>No</option>
</select></td>
<td><select>
<option>Yes</option>
<option>No</option>
</select></td>
<td><select>
<option>Yes</option>
<option>No</option>
</select></td>
<td><select>
<option>Yes</option>
<option>No</option>
</select></td>
<td><select>
<option>Yes</option>
<option>No</option>
</select></td>
<td><select>
<option>Yes</option>
<option>No</option>
</select></td>
</tr>
</table>
<input type="submit" name="submit" ng-click="getValue()">
</body>
</html>
This is my table. how to write angularjs code sending the selected data using get or post method.