Hi all,
Ok, i've seen how to do this with selects and images. but how do i do it clicking a simple a href tag?
I've tried this
<a href=# onClick=sendImg(this);>" & imagename & "</a>
(it gets the values through asp)
and on top of that popup window i've got this
<script type="text/javascript">
function sendImg(sel) {
opener.document.forms[0].txtImage1.value = sel[sel.selectedIndex].text;
window.close();
}
</script>
but how do i modify that to look for a link rather than a select box?
Thank you.
"Never underestimate the power of determination"
Stuart
Ok, i've seen how to do this with selects and images. but how do i do it clicking a simple a href tag?
I've tried this
<a href=# onClick=sendImg(this);>" & imagename & "</a>
(it gets the values through asp)
and on top of that popup window i've got this
<script type="text/javascript">
function sendImg(sel) {
opener.document.forms[0].txtImage1.value = sel[sel.selectedIndex].text;
window.close();
}
</script>
but how do i modify that to look for a link rather than a select box?
Thank you.
"Never underestimate the power of determination"
Stuart