<script type="text/javascript">
var _switch = "xuan";
switch (_switch) {
case "x":
document.write("这是X~~~~");
break;
case "u":
document.write("这是U~~~~");
break;
case "xuan":
document.write("正确了~~~xuan");
break;
}
</script>