PHP & Iframe passing value
Posted on 2013-01-15
I have a PHP program, inside this php, there is another PHP in iframe
<iframe id="I2" name="I2" src="cal_1.php" style="width: 640px">
Your browser does not support inline frames or is currently configured not to display inline frames.
I need to pass a value from this PHP to the one inside frame (cal_1.php).
One method that I could think of was using this in cal_1.php
but it doesn't get anything , in error console , it says
Type Error parent.frames.document.getElementById('websiteadress').value is null
Any help is appreciated