http://jsfiddle.net/tearex/AXQx4/
regardless of which button is pressed, the returned value is the same. How to correct the condition?
http://jsfiddle.net/tearex/AXQx4/
regardless of which button is pressed, the returned value is the same. How to correct the condition?
Change your script tag to
$("input[type='radio']").change(function (){
if ($('#item1zest1:checked').val() == 'on') { ccc=1
}else{ccc=11}
document.DIAGNOSTICS.VARIABLES.value=(ccc)
});
Here is the link
http://jsfiddle.net/code_rum/aYfbU/
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.