Using input object in child iframe override parent rule to open link in that iframe
<p>i'm building a HTML GUI for a HVAC plant.
The parent page is basically a menu with links, the children page are a set of input object to modify a bunch of parameters.
Every link in the parent page opens a child page in an iframe</p>

<pre><code>&lt;a href='/admin/offset.html'target="frame"&gt;
</code></pre>

<p>If i modify a parameter inside the child page</p>

<pre><code>&lt;input class="single"id="SET_ON_INV_333"&gt;°C&lt;/input&gt;
</code></pre>

<p>when i click to a different child by menu in parent page, the new child page is opened in a new tab, instead the existing iframe.
If i want to restore the wanted behaviour, i have to refresh the parent page.
Any suggestion to keep url open in the setted Iframe? Thanks
edit: to use the input within my page, i've written some code in jquery</p>

<pre><code>var delay = (function(){
        var timer = 200;return function(callback, ms){
            clearTimeout (timer);timer = setTimeout(callback, ms);}
            ;})();
    function setCgiSingle(a){
        name=a.attr("id"),
        t=a.val(),
        w=set_cgi+"?name="+name+"&amp;value="+t,
        $.ajax({url:w,cache:!1})
        };
    $('body').on("keyup", ".array", function () {
    var elem = $(this);
        delay(function(){
            var value=elem.val();
            value=value*10;
            elem.val(value);
            setCgiSingle(elem);
            elem.blur();},1000);
    });
</code></pre>

<p>Basically, i take the value of the input and sending via ajax call</p>