All pastes #651815 Raw Edit

Miscellany

public html v1 · immutable
#651815 ·published 2007-08-10 01:24 UTC
rendered paste body
<table> 	<tr> 		<td> <input id = 'myInput' type = 'text'> </td> 	</tr>   	<tr> 		<td> <input type = 'text'> </td> 	</tr> </table>myobj=document.getElementById("myInput");I want to traverse from myobj to the 2nd inputsoSecondInput = myobj.parentNode.nextSibling.firstChild;