本人学习时间不长,看MSDN中关于HTML的文档
比如这一段
Sets or retrieves a comma-separated list of content types.SyntaxHTML <INPUT ACCEPT = sAccept... >  
Scripting INPUT.accept(v) [ = sAccept ] Possible ValuessAccept String that specifies or receives comma-separated list of content types. The property is read/write. The property has no default value.Res
我不知道INPUT.accept(v)中的V代表什么意思,是变量吗,很多属性有这样的访问方式,不知什么意思

解决方案 »

  1.   

    意思就是accept这个属性,只接受形如:accept="int,bool",这样的值不知道这属性有啥作用
      

  2.   

    应该是变量的意思!
    在w3c中accept指的是内容的类型http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.4.1
      

  3.   

    MSDN上查下来是
    Syntax
    HTML <INPUT ACCEPT = sAccept... >  
    Scripting [ sAccept = ] INPUT.accept [ = v ] 此处的v就是赋给属性的值了
    -----------------------
    如果是 INPUT.accept(v) [ = sAccept ] 
    accept是一集合类型,v应该表示对集合的索引. INPUT.accept("xxxx")
      

  4.   

    DISABLED Attribute | disabled Property--------------------------------------------------------------------------------Sets or retrieves a value that you can use to implement your own disabled functionality for the object.SyntaxHTML <ELEMENT DISABLED ... >  
    Scripting object.disabled(v) [ = sDisabled ] 
    Applies To  OPTION, OPTGROUP 这个DISABLED也是一个集合吗?,好像也有点不对
      

  5.   

    我查下来是:并没有v, 你查的是哪个版本的MSDN? 可能v不是语法,只是个说明标记之类的
    DISABLED Attribute | disabled Property--------------------------------------------------------------------------------Sets or retrieves a value that indicates whether the user can interact with the object. SyntaxHTML <ELEMENT DISABLED ... >  
    Scripting [ bDisabled = ] object.disabled 
      

  6.   

    我的是 VISUAL STUDIO 2005 版本呀,不知你是什么版本
      

  7.   

    针对不同对象有不同的DISABLE的解释
      

  8.   

    我是 2008 的, 以前没注意,是不是 表示可写?
    你可以查一下网上的 http://msdn.microsoft.com/en-us/library/ms533060(VS.85).aspx
      

  9.   

    谢谢,我在微软网站看了一下,两个同样的注解是不同的,
    比如 我的2005对于VALUE(PARAM)的内容为
    VALUE Attribute | value Property--------------------------------------------------------------------------------Sets or retrieves the value of an input parameter for an element.What's New for Microsoft Internet Explorer 6
    The value property is now read/write. SyntaxHTML <PARAM VALUE = p... >  
    Scripting PARAM.value(v) [ = p ] 。。而我在微软网站上看到的是
    VALUE Attribute | value Property
    Sets or retrieves the value of an input parameter for an element.SyntaxHTML <ELEMENT VALUE = p... >  
    Scripting [ p = ] object.value [ = v ] Possible Values
    。。