1$('input[type=radio][name=bedStatus]').change(function() {
2 if (this.value == 'allot') {
3 alert("Allot Thai Gayo Bhai");
4 }
5 else if (this.value == 'transfer') {
6 alert("Transfer Thai Gayo");
7 }
8});
1$('input[type=radio][name=gender]').change(function() {
2 if (this.value == 1) {
3 alert("Select Male");
4 }else if (this.value == 2) {
5 alert("Select Female");
6 }
7});