[Total: 0    Average: 0/5]

getElementByID routine is shown how to use.

Body Code:

function doIt()
document.getElementById("abc").elements[0].value="YOU GOT IT";  document.getElementById("abc").busemail.value="I WAS HERE";
<div id=business>
<form id=abc name=businessform>
<input type=text name=firstone value="?">
<input type=text name=busemail value="?">
<HR><a href="javascript:doIt()">click to do it</a>

Times Viewed: 1

Leave a Reply

Your email address will not be published. Required fields are marked *