とします。 コード <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title> <script type="text/javascript" src="jquery-2.0.3.js"></script> <script type="text/javascript"> function UpdateState() { value = $("input[name='RadioGroup01']:checked").val(); switch (value) { case "item1": $("#output").html("要素1 が選択されています