<script src="../js/jquery.min.js"></script>
$(function() {
$("#xwz").click(function(){
$("#xwwz").show(); //顯示
$("#yuchanqi").hide();//隱藏
$("#yuer").val("3");//設置value值
$("#imageId3").attr("src","../tpl/public/images/yuer/33.png");//更換圖片連接
$("#imageId4").attr("src","../tpl/public/images/yuer/4.png");
$("#imageId2").attr("src","../tpl/public/images/yuer/2.png");
$("#imageId1").attr("src","../tpl/public/images/yuer/1.png");
$("#xwz").css("color","red")//添加style
$("#xwz").css("border-color","red")
$("#xgj").removeAttr("style");//刪除樣式
$("#beiyun").removeAttr("style");
$("#yunqi").removeAttr("style");
});
});