Hello , i have index.php and somewhere inside it i have an iframe of index2.php , index2.php has this code

Code:
<a href="javascript:{}"  target="_parent" onclick="document.getElementById('form1').submit(); return false;">Submit</a>
but when i click it , the page loads inside the iframe , so im still at index.php but i have iframe with different content.... how can i manage "load" the page at index.php window ?