The problem I have just started today, without really changing the code at all. So when a form is being submitted, the value should be shown in an iframe. Everything worked fine yesterday, but today the value is shown in a new tab instad of the frame. It still works in internet explorer.
When I searched the net for answers, all they said was to add an id and name tag to the iframe, but that was already in the code. so does someone know where I could have gone wrong?
Here is part of the code
<form name="form_1" id="form_1" action="/fruits/result.php" method="post" target="resultaat">
<iframe name="resultaat" id="resultaat" src="/bepages/empty.php" width="660" height="250" frameborder="0" scrolling="no" marginwidth="0"></iframe>
Edit: probably solved
It seems I found the problem, but I think don’t understand it why it went wrong. So I had another tab open with the same url. When I closed that tab, and tried again, the iframe worked fine again. I would think because it’s the same id, but I’m correct that should not be a problem when you work with different tabs. So my next question, does someone know why it did go wrong here?
It seems that the problem was caused by having another tab open with the same url. When I closed 1 tab, it worked fine again.