> I am not familiar with JS. Can you give me a clearer example, please?
> Thanks.
the following is the start of your categories.htm on
http://asianmachinetrader.com/dbase/add.htm. I added the function from my
last posting:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>AMT: Possible Machine Categories</title>
<script language="javascript">
function insertIntoOpener(inStr)
{
window.opener.document.forms[0].Category.value=inStr;
window.close();
}
</script>
</head>
[..]
Then you have to change your list of possible categories like in the
following snipplet:
[..]
<a name="Agricultural">Agricultural</a></font></b></p>
<blockquote>
<p><u>Categories</u><br>
<a href="javascript
:insertIntoOpener('Cultivator')">C ultivator</a><br>
<a href="javascript
:insertIntoOpener('Plunger Pump')">Plunger Pump</a><br>
<a href="javascript
:insertIntoOpener('Brush Cutter')">Brush Cutter</a></p>
</blockquote>
[..]
If you do that for your whole list it will work.
Hope it will help
Heiko