如何在JavaScript中添加控件 [英] How to add control in javascript
本文介绍了如何在JavaScript中添加控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
它是动态生成的,请给我有关此主题的源代码.
It''s generate dynamically Please give me source code about this topic.
推荐答案
^ ]
注意:这些控件将是客户端控件.
http://stackoverflow.com/questions/355083/在
http://javascript.internet.com/forms/adding-html-controls.html[^]
Note: Those controls would be clientside controls.
http://stackoverflow.com/questions/355083/adding-controls-using-javascript-and-get-their-value-from-codebehind[^]
了解javascript和您可以在以下位置找到HTML DOM模型: http://www.w3schools.com/jsref/default.asp [^ ].
可以在这里找到教程: http://www.howtocreate.co.uk/tutorials/javascript/dombasics [< ^ ]和此处:http://www.howtocreate.co.uk/tutorials/javascript/domintroduction [
A good starting point to get acquainted with javascript and the HTML DOM model can be found here: http://www.w3schools.com/jsref/default.asp[^].
Tutorials can be found here: http://www.howtocreate.co.uk/tutorials/javascript/dombasics[^] and here: http://www.howtocreate.co.uk/tutorials/javascript/domintroduction[^].
Learning the basics of HTML DOM querying and modification are essential if you want to build controls on the client side.
Cheers!
—MRB
这篇关于如何在JavaScript中添加控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文