jQueryを使用してクリックすると、あるdivを別のdivに置き換えようとしていますが、できません。1つのdivで非表示属性を使用する必要があるかどうかわかりません。
これがコードです
<div id="prepersonal">this is a test 1</div>
<div id="personal">this is a test 2</div>
そしてこれがcssです
#prepersonal {
width: 330px;
height: 330px;
border-radius: 5px;
background-color: #FF6801;
color: #FFFFFF;
font-family: Tahoma;
padding-top:7px;
}
#personal {
width: 330px;
height: 330px;
border-radius: 5px;
background-color: #FF6801;
color: #FFFFFF;
font-family: Tahoma;
padding-top:7px;
}
誰かが答えを知ることができますか?