當(dāng)前位置:首頁(yè)
> html修改onclick
html修改onclick的簡(jiǎn)單介紹
在html中設(shè)置你的代碼就是在html中設(shè)置的方法,這是測(cè)試頁(yè)面,現(xiàn)在html代碼的元素中添加onclick ltinput type=quottextquot id=quottextquot onClick=quotfquot 再在js代碼中聲明一個(gè)函數(shù) function f alert1 只在j...