或者此输入框平时不显示出来,按某按钮就会弹出个小框用于输入的,有没有这样的控件?

解决方案 »

  1.   

    DHTML(javascript):
    prompt Method  Internet Development Index --------------------------------------------------------------------------------Displays a dialog box that prompts the user with a message and an input field.SyntaxvTextData = window.prompt( [sMessage] [, sDefaultValue])
    ParameterssMessage Optional. String that specifies the message to display in the dialog box. By default, this parameter is set to "". 
    sDefaultValue Optional. String that specifies the default value of the input field. By default, this parameter is set to "undefined". Return ValueString or Integer. Returns the value typed in by the user.
      

  2.   

    I don't understand about javascript,do you have any exam?
      

  3.   

    有没有可以接受用户输入文本的类似消息框的 物体 .......这词用得也太 。。 了吧在按钮事件里直接控制 输入框 的 Visible 属性不就行了吗
      

  4.   

    <input type="button" value="ask" onclick="alert('您的名字是:'+window.prompt("请输入你的名字!"));">