JavaScript Tutorial/HTML Tags/removeAttribute — различия между версиями
(нет различий)
|
Версия 21:52, 25 мая 2010
Remove attribute by calling the removeAttribute() function
<source lang="javascript">
<html> <head> <script language="JavaScript" type = "text/javascript">
</script> </head> <body> <form> <a id="oldurl" href="http://www.wbex.ru">www.wbex.ru</a>
<input type="radio" value="V1" name="R1" onClick="NewWindow(1)">Open in New Window
<input type="radio" name="R1" checked value="V2" onClick="NewWindow(2)">Open in Same Window
<input type="text" id="urltext" size="20"> <input type="button" value="Change Link" name="B3" onClick="ChangeLink()"></p>
</form> </body> </html></source>