梦想中国

付出最大努力,追求最高成就
 
 

Powered by: 博客园
模板提供:沪江博客
博客园 | 首页 | 发新随笔 | 发新文章 | 联系 | 订阅订阅 | 管理

最新评论

共4页: 1 2 3 4 下一页 
Re:asp.net控件本质 sen 2010-04-25 01:38  
mark
Re:asp.net 2.0发送和接收邮件总结 午夜游民 2009-11-11 16:00  
悲剧!~ 可恶的标题党!~
Re:asp.net 2.0发送和接收邮件总结 天时地左 2009-11-11 14:26  
发送是可以的 哪儿是接受的啊
Re:asp.net 2.0发送和接收邮件总结 天时地左 2009-11-11 14:24  
请问 哪儿有接受邮件的啊
re: RTM、RC、CTP版本的含义(ZT) 小隐任行 2009-05-08 16:45  
还有Beta。。。。。。
re: JavaScript动态的为元素添加事件 Anddy 2009-04-23 10:14  
很好,很强大~!
re: CuteEditor学习总结技巧 吉日嘎拉 2009-01-16 13:30  
写得很棒
re: .net下枚举的用法 ssdfdsf 2008-10-16 11:46  
内容(请不要发表任何与政治相关的内容) 请输入评论内容
re: JavaScript动态的为元素添加事件 QQLives 2008-09-10 20:27  
It help me
re: Window下配置SVN服务器与客户端 changchang 2007-11-07 23:19  
http访问是一般的http协议的访问。
https访问是加密的http协议访问,安全性好些。
我认为是这样,但是不很肯定,算是抛砖引玉吧!至于apache+svn可以有其他用处,我不太清楚。
re: Window下配置SVN服务器与客户端 寶藍娃娃 2007-11-07 16:36  
有問題:用svn://這樣的協議連接,有沒有什麼缺點?公司用apache+svn,是用https://開始的,用http://訪問也可以...它們之間的差別是什麼呢?
re: Javascript访问html页面的控件 JoeLee 2007-10-30 19:26  
你研究的也不是JS语言.JS语言核心根本没有document这种东西.你只是在研究
如何用脚本语言访问HTML DOM对象而已。
另贴一个参考吧。详细的自己去看MSDN

getElementById Method

--------------------------------------------------------------------------------

Returns a reference to the first object with the specified value of the ID attribute.

Syntax

oElement = document.getElementById(sIDValue)
Parameters

sIDValue Required. String that specifies the value of an ID attribute.

Return Value

Returns the first object with the same ID attribute as the specified value.

Remarks

If the ID value belongs to a collection, the getElementById method returns the first object in the collection.

--明确的说了返回有这个ID的第一个的元素。

getElementsByName Method

--------------------------------------------------------------------------------

Retrieves a collection of objects based on the value of the NAME attribute.

Syntax

collObjects = document.getElementsByName(sNameValue)
Parameters

sNameValue Required. String that specifies the value of a NAME attribute.

Return Value

Returns a collection of objects with the same NAME attribute value.

Remarks

When you use the getElementsByName method, all elements in the document that have the specified NAME or ID attribute value are returned.

Elements that support both the NAME and the ID attribute are included in the collection returned by the getElementsByName method, but not elements with a NAME expando.

--明确的说了返回的是集合
getElementsByTagName Method

--------------------------------------------------------------------------------

Retrieves a collection of objects based on the specified element name.

Syntax

collObjects = object.getElementsByTagName(sTagName)
Parameters

sTagName Required. String that specifies the name of an element.

Return Value

Returns a collection of objects with the specified element name.

Remarks

The getElementsByTagName method is equivalent to using the tags method on the all collection. For example, the following code shows how to retrieve a collection of div elements from the body element, first using the Dynamic HTML (DHTML) Object Model and then the Document Object Model (DOM).

--同样是个集合


re: Javascript访问html页面的控件 JoeLee 2007-10-30 19:19  
参见MSDN->Web Develop->HTML And CSS->SDK Documentation->HML And DHTML Reference->Object->Document

微软在N多年前就明确告诉了你这些东西.不用你去研究的.

也就是IHTMLElement这个东西而已.
re: Brettle.Web.NeatUpload.dll支持的大文件上传 sunny.chen 2007-10-30 11:28  
文件下载就在最后塞!
re: Javascript访问html页面的控件 sunny.chen 2007-10-30 11:26  
--引用--------------------------------------------------
codefan: "如果不是表单元素 就算你加了name属性getElementsByName也取不到不信你自己试试"这个好像能取到哦!测试能行的,楼主只的是什么情况下不行?
--------------------------------------------------------
我认为是除了表单元素以外,如果加了name属性液也是不能通过getElementByName获取值得!
re: Javascript访问html页面的控件 codefan 2007-10-29 23:22  
"如果不是表单元素 就算你加了name属性getElementsByName也取不到不信你自己试试"这个好像能取到哦!测试能行的,楼主只的是什么情况下不行?
re: Javascript访问html页面的控件 曲滨*銘龘鶽 2007-10-29 21:10  
@信息谷

有话好好说

一个人不知道别人有多强的时候、是不知道自己有多弱的
强弱是个相对词。


就像你小时候看什么都很大一样。
re: Javascript访问html页面的控件 作者名已被使用 2007-10-29 20:18  
@很好[未注册用户]

这个真的不应该放首页,虽然我水平很次,而这些js介绍再怎么说,也是web开发的基础啊..除非有些js的高阶技术.首页位置有限呀..当然要放些比较有价值的文章,毕竟cnblogs上太多牛人了..
re: Javascript访问html页面的控件 holygrace 2007-10-29 19:27  
现在还document.getElementById?byName?
现在流行$(…)!!
re: Javascript访问html页面的控件 holygrace 2007-10-29 19:25  
@很好 [未注册用户]
困扰你的就适合发布在首页吗?i++是什么意思对于一个普通小学生来说真是个天大的难题!其次这种问题都困扰你1个小时说明你的学习方式和js能力真的很差,debugger一下不就可以分析出原因,在不行百度一下!
共4页: 1 2 3 4 下一页