函數(shù)調(diào)用寫法
函數(shù)調(diào)用有兩種寫法,有區(qū)別嗎?
<input type="text" value="點(diǎn)擊我" onclick="con()"/>
<input name="button" ? value="點(diǎn)擊我"? ?type="button" onclick="con()"/>
函數(shù)調(diào)用有兩種寫法,有區(qū)別嗎?
<input type="text" value="點(diǎn)擊我" onclick="con()"/>
<input name="button" ? value="點(diǎn)擊我"? ?type="button" onclick="con()"/>
2016-09-09
舉報(bào)
2016-09-09
函數(shù)調(diào)用有兩種寫法,有區(qū)別嗎?
<input type="text" value="點(diǎn)擊我" onclick="con()"/>
<input name="button" ? value="點(diǎn)擊我"? ?type="button" onclick="con()"/>
//沒什么區(qū)別,都是調(diào)用函數(shù),只是你這兩個(gè)控件不同而已(注意加粗的地方),一個(gè)是文本輸入框,另一個(gè)是按鈕。
2022-03-25
妹子應(yīng)該是南京人,哈哈我也只看到兩個(gè)radio,是因為第一個(gè)radio的左側(cè)無法顯示radio了,
2016-09-09
都是調(diào)用函數(shù),type類型不同而已,text是文本輸入框,button是按鈕