[問題] w3school的範例

看板Ajax作者 (測試)時間11年前 (2014/05/13 14:53), 編輯推噓1(104)
留言5則, 2人參與, 最新討論串1/1
http://www.w3school.com.cn/tiy/t.asp?f=html5_form_output 我輸入兩個input之後output都沒東西跑出來耶 是哪邊有出問題麻煩前輩指點一下 不知道怎麼改才好 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.27.128.172 ※ 文章網址: http://www.ptt.cc/bbs/Ajax/M.1399963996.A.D9C.html

05/13 16:22, , 1F
onforminput已經不能用了 要改成在input裡用oninput
05/13 16:22, 1F

05/13 16:22, , 2F
<input id="num_a" oninput="resCalc()" /> +
05/13 16:22, 2F

05/13 16:22, , 3F
<input id="num_b" oninput="resCalc()" /> =
05/13 16:22, 3F

05/13 16:22, , 4F
<output id="result" ></output>
05/13 16:22, 4F

05/13 20:13, , 5F
謝謝
05/13 20:13, 5F
文章代碼(AID): #1JSS5SsS (Ajax)
文章代碼(AID): #1JSS5SsS (Ajax)