Hello I was wondering if someone could help me out.

Trying to submit form to frame and pass php var at the same time.

<script language="JavaScript"><!--
function submitform(){
top.admin.document.adminform.submit();
}
//--></script>

and...

<frameset rows="538,83" cols="*">
  <frame src="admin.php?order=1" name="admin" id="admin">
  <frame src="status.php" name="status" scrolling="auto" id="status">
</frameset>


Link look like:     <a href="javascript:submitform();"
target="_parent">Delete</a>

What I need to do though, is run this exact script while passing
($delete=yes) as php at the same time?  Basically, run the form and if
delete=yes then use the following form tag :  <form name=adminform
method=post action=setup.php?delete=yes  target=_parent>

Any ideas?  Thanks Brandon



Reply via email to