鍍金池/ 問答/HTML5  網(wǎng)絡(luò)安全  HTML/ jquery 按下去後更換 <i> 標(biāo)籤的值?

jquery 按下去後更換 <i> 標(biāo)籤的值?

    <i id="" class="material-icons">chevron_right</i>

當(dāng)按下 click 後,能替換 「chevron_right」 值,這有可能實(shí)現(xiàn)嗎?

回答
編輯回答
眼雜

$(".material-icons").click(function(){

$(this).text("chevron_down");

})

2017年12月7日 13:52