I want to be able to set the value of an input box in the parent of an iframe from the iframe.
The parent has the following input box: <input id="company" type="text" name="contractcompany"> So far I've tried the following in the IFRAME <a href="#" onclick="javascript:$ ('#company',top.document).value='text';return false;"> and <a href="#" onclick="javascript:top.document.$ ('#company').value='text';return false;"> and <a href="#" onclick="javascript:window.parent.$ ('#company').value='text';return false;"> and <a href="#" onclick="javascript:$ ('#company',window.parent).value='text';return false;"> Not having much luck here and stumbling in the dark. I'm a JQuery newbie, be kind.