Published
- 1 min read
radio button onchange jquery
The solution for this is noted below
radio button onchange jquery
Solution
$('input[type=radio][name=bedStatus]').change(function() {
if (this.value == 'allot') {
alert("Allot Thai Gayo Bhai");
}
else if (this.value == 'transfer') {
alert("Transfer Thai Gayo");
}
});
Try other methods by searching on the site. That is if this doesn’t work