JSFiddle - React, Tailwind, and code Playground

HTML

<table>
    <tr>
					<td>Sales Promotion</td>
					<td><input type="radio" name="q12_3" value="1">1</td>
					<td><input type="radio" name="q12_3" value="2">2</td>
					<td><input type="radio" name="q12_3" value="3">3</td>
					<td><input type="radio" name="q12_3" value="4">4</td>
					<td><input type="radio" name="q12_3" value="5">5</td>
				</tr>
</table>
                        <button id="submit">submit</button>

JavaScript

$(function(){
	$("#submit").click(function(){		
		alert($('input[name=q12_3]').val());
	});
});