Re: [問題] javascript有關setTimeout()這個函數

看板Web_Design作者 (運命のルーレット廻して)時間18年前 (2006/01/03 23:17), 編輯推噓3(300)
留言3則, 3人參與, 最新討論串5/9 (看更多)
※ 引述《LMY8684 (LMY)》之銘言: : ※ 引述《TKirby ( ^-^)》之銘言: : : 怎麼會語法錯誤呢? : : 莫非有什麼誤解 : : 我自己試的語法如下, 沒有錯誤耶 : : setTimeout("alert(\"1\'2'3\'4'5\");", 1000); : : 範例網頁在這邊 : : http://www.csie.ntu.edu.tw/~b88039/archive/testCol/javascript/marker/ : : IE 跟 FF 都可以耶 : : 我把你要的效果也做了一遍 : : http://0rz.net/ec0XY : 可以把這個效果的原始碼秀出來嘛 : 因為主要有問題的地方在於 name='att' 跟value=att那邊 Orz 要看原始碼動作得快一點 因為document.write會把網頁洗掉 我貼在下面好了 <html> <head> </head> <body> <script type="text/javascript"> var att=1; setTimeout("document.write(\"<input type=text name='att' value=\"+att+\">點 的攻擊力!!<br>\");", 1000); </script> </body> </html> -- 'Oh, Harry, dont't you see?' Hermione breathed. 'If she could have done one thing to make absolutely sure that every single person in this school will read your interview, it was banning it!' ---'Harry Potter and the order of the phoenix', P513 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.82

01/03 23:20, , 1F
動作真快 XD
01/03 23:20, 1F

01/03 23:25, , 2F
:P 就在奇怪剛PO完看到你PO文之後瞬間就不見了XD
01/03 23:25, 2F

01/03 23:26, , 3F
用續傳軟體抓網頁的話,原始碼照看
01/03 23:26, 3F
文章代碼(AID): #13kfMY0- (Web_Design)
討論串 (同標題文章)
本文引述了以下文章的的內容:
以下文章回應了本文
完整討論串 (本文為第 5 之 9 篇):
文章代碼(AID): #13kfMY0- (Web_Design)