I have two radio button yes,no in a.jsp.
var IncludeCharges = document.getElementById("IncludeCharges_no").value;
If i select yes i need to pass 1 to the java file and in case of no i need to pass 0. but when i retrive the radio button value using
int Includecharges = Integer.parseInt(request.getParameter("IncludeCharges_yes");
It shows undefined...
How could i get the value
Thanks in advance...