GET from parent to iframe size limit?
I'm sending a simple get to populate the souce of the page's iframe with the proper info:
<a href="#" onclick="document.getElementById('iframe').src='notes.php?id=1';return false;"><img src="../images/icon_doc.gif" width="20" height="18" border="0" align="absmiddle" /></a>
When I begin to add additional values to my GET such as:
All values cease to be included in the link. All that comes through is:
This is working elsewhere but not to an iframe. Anyone have any ideas?
Also worth mentioning (maybe) is the fact that there are two links to the iframe that are adjacent to one another. Here is the entire snip:
<div class='leftBold'>Agent: </div><div class='rightTined'><a href="#" onclick="document.getElementById('iframe').src='agent_assign.php?agent_id=<? echo $agent_id ?>&function=view';return false;"><? echo $agent_name ?></a><a href="#" onclick="document.getElementById('iframe').src='agent_notes.php?id=<? echo $id ?>';return false;">  <img src="../images/icon_doc.gif" width="20" height="18" border="0" align="absmiddle" /></a></div><br>
Last edited by jmurch; 01-31-2008 at 12:43 PM.
This was a stupid but unforseen error. As part of development I created the parent link and when I click the link let the iframe populate with a 'page not found' error since the iframe src file had not been created yet.
I checked the properties to see if the proper entire url was sent or not. When the ?get_value was over a certain length (sorry didn't care what the exact length was) everything after the ? dropped off.
When I created the target file for the iframe src everything worked as it should.
It seems that the browser kicks in the error when the page is not found but will continue to collect the url info to display in the properties for a moment longer than it takes to realize that the file is not there.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)