javascript当中prompt的用法
5.prompt
例 1.5(promptIEFF.html)
body div
<script language="javascript" type="text/javascript">
/* 返回值:Property/method value type: String primitive
JavaScript syntax: - myResult = myWindow.prompt(aString, aDefaultValue)
- myResult = prompt(aString, aDefaultValue)
Argument list: aDefaultValue An initial content for the text box
aString Some text to explain what to enter
更多内容请见原文,文章转载自:https://blog.csdn.net/qq_43650923/article/details/103045943