|
how can I submit form in other php file which I have called it by using ifram
I have wrote this code but it not run.
<input type="button" id="s" name="s" value="submit ID" onClick="javascript:submitPer();">
<iframe name="form11" src="perSearch.php" frameborder="0" width="680" height="150"></IFRAME><br>
---------
this is javaScript function which should be submit form11
function submitPer(){
window.parent.frames['form11'].document.all('form11').submit();
}
I am waiting for ur suggestion thank you all
|