First off, I want to apoloigze if this has already been answered ... the SP search feature is taking about 2 mins per search, so it was making it difficult to search the archive ...
Anyways, on to my question ...
I have a form such as:
<form name="additem" method="post" enctype="multipart/form-data" action="index.php">
<input name="itemname" type="text" id="itemname" size="40">
And I'm wanting to be able to click on a hyperlink to populate the "itemname" input field ... such as
<a href="#" onclick="CopyDetails('HERE IS THE TEXT I WANT COPIED',additem,itemname)">Copy to form</a>
I know CopyDetails is not a JS function, but it was just part of the example I came up with.
The hyperlinks that I will be clicking will be on the same page as the form.
Any thoughts or ideas?