Joe,
Thanks for your help, it did not occur to me to use Request.Form (it has been quite a while since I have had to do that!) In any case the data that is returned is just an HREF in this format:
"<a href='#' onClick=updateParent('4444','SomeName');> SomeName </a><br>"
And the ajax script that the onClick event is wired to:
function updateParent(id, name)
{
ShowCustom();
while (name.indexOf("%20") > -1)
name = name.replace("%20"," ");
document.getElementById("cText").value = name;
document.getElementById("cID").value = id;
}
And showcustom:
function ShowCustom(){
if (document.layers) document.layers["cust"].visibility="show";
else document.getElementById("cust").style.visibility=" visible";
}
cText is a visible text box and cID is a hidden html element.
Thanks again!
-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
^^Thats my signature
|