![]() |
| ||
| Form in one iFrame refreshes another iFrame I have a page that holds two iFrames. The first iFrame is a form the user has to fill out. The second iFrame prints the results the form gives. When the page is first loaded with the two iFrames, I want the second to hold a default page that says "Please Fill Out The Form". Once they do and hit submit, I want the the second frame to change to the results. My form works, and when you first load the page it seems to work, however, once I hit submit, it sends to a new page that just shows the results. Please advise, thanks. |
| ||
| Re: Form in one iFrame refreshes another iFrame why are you using iframes? |
| ||
| Re: Form in one iFrame refreshes another iFrame Ya frames are sloppy, use ajax. |
| ||
| Re: Form in one iFrame refreshes another iFrame But if you must http://www.developerfusion.co.uk/show/2069/ |
| ||
| Re: Form in one iFrame refreshes another iFrame The way the link shows is how I thought I was suppose to do it, but it doesn't work. Here are the iFrames...... <td width="580" valign="top" align="center"> Here is the first line of the form.... <form action="functions/linkBackCode.php" method="get" target="URL" > I am not sure what I might be doing wrong with it. The page that houses the iFrames is ...getLinkBack.php. I then have my functions under another folder obviously and I have the form send the info to the linkBackCode.php. In that file, if there is not new URL, it post the phrase "PLEASE FILL OUT FORM". Once someone fills out the form, I want it to refresh that iFrame, not open a new window with the new call. Does that make sense? Thanks for the help. |
| ||
| Re: Form in one iFrame refreshes another iFrame I ran a test and it works for me, here is my code file:test.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> file:test1.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> file:test2.php <? |
| All times are GMT -4. The time now is 4:18 pm. |
Forum system based on vBulletin Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
©2003 - 2010 DaniWeb® LLC