JavaScript Tutorial/DOM Node/getElementById — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:24, 26 мая 2010
Get element from a document by id
<source lang="javascript">
<html> <head> <title>New Page 1</title> <script language="JavaScript" type = "text/javascript">
</script> </head> <body> <form name="textfield">
<input type="text" name="T1" size="20" id="testinput"> <input type="button" value="Click Here" name="B1" onClick="Test()"></p>
</form> </body> </html></source>