getElementById多个Id [英] getElementById multiple Id's
本文介绍了getElementById多个Id的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
好的我已经到处读到如何使用多个id'是错误的并且不是那么不可恶,如果有更好的方式让我知道......这就是我得到的
ok ok i''ve read everywhere how using multiple id''s is wrong and what not so don''t get all hatefully, if there is a better way let me know... here is what i got
展开 | 选择 | Wrap | 行号
推荐答案
Heya,Banning。
尝试使用name属性,该属性不必是唯一的:
Heya, Banning.
Try using the name property, which does not have to be unique:
展开 | 选择 | Wrap | Line数字
哇你就像这些板子上的每一个地方哈哈......我真的很乐意从你那里得到帮助你很好地解释事情
wow you''re just like every where on these boards haha... i really love getting help from ya you explain things very well
Heya,Banning。
我们的目标是取悦。
祝您的项目好运,如果您需要任何东西,随时回复:)
Heya, Banning.
We aim to please.
Good luck with your project, and if you ever need anything, post back anytime :)
这篇关于getElementById多个Id的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文