User-1358008948 posted
Hello,
I have two iframes, I want to pass 'Stop No' (getElementById('TextBox2') value to the iframe on the left with this URL:
https://localhost/Map/Stop/'+document.getElementById('TextBox2').value
It is doing the opposite. Instead of passing the URL to the left iframe, it's loading on parent frame.
What I want it to do is when you click on 'Submit', I want the results to stay on parent (right frame) and pass value / url to the left frame. Please see my screenshots or
see it in action here


<button type="submit" id="iFrame0" class="btn btn-primary btn-block" style="width: 100%" onclick="window.location.href='https://localhost/Map/Stop/'+document.getElementById('TextBox2').value;" return false; formtarget="se_frame1">Submit</button>