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