Menu
here is a link to the page I am working on:
[url]http://www.bruehlus.com/bigarm.html
I am tring to pass a value from an iframe to a form on the parent page but cannot seem to get it to work.
here is the code in the iframe:
<div onClick=”parent.passpro(Big Arm 1 seater);”>
on the parent I have this in the head:
<script language=”JavaScript”>
function passpro(str) {
order_form.pro.value = ‘str’;
}
</script>
and a form in the parent:
<form name=”order_form”>
Product:<br />
<input type=”text” size=”15″ name=”pro” value=”” />