abstract:toggleClass() 對(duì)被選中元素進(jìn)行添加刪除類(lèi)的切換操作text() 設(shè)置被選中的元素為文本內(nèi)容html() 設(shè)置選中的元素內(nèi)容(innerHTML 包括html標(biāo)簽)val() 設(shè)置選中元素的值$(document).ready(function)(){})
toggleClass() 對(duì)被選中元素進(jìn)行添加刪除類(lèi)的切換操作
text() 設(shè)置被選中的元素為文本內(nèi)容
html() 設(shè)置選中的元素內(nèi)容(innerHTML 包括html標(biāo)簽)
val() 設(shè)置選中元素的值
$(document).ready(function)(){
})