Question : Can a Form Action in php open two different iframes?

I have attached two separate form action codes that work. Is there a way to combine these two into ONE form action in php?
Thank you...
Rick
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
<form action="test3.php" a href="test3.php" target="framename" onClick="MM_goToURL('framename','test3.php');return document.MM_returnValue" method="post" name="form1" class="style259">
                      <p align="center"> <span class="style16 style17">Industry P/N </span><br>
                          <input name="Search" type="text" class="style2" size="20">
                          <input name="Submit" type="submit" class="style14" value="Submit">
                          <input name="Reset" type="reset" class="style14" value="Reset">
                  </form>


<form action="test4.php" a href="test4.php" target="framename2" onClick="MM_goToURL('framename2','test4.php');return document.MM_returnValue" method="post" name="form1" class="style259">
                      <p align="center"> <span class="style16 style17">Industry P/N </span><br>
                          <input name="Search" type="text" class="style2" size="20">
                          <input name="Submit" type="submit" class="style14" value="Submit">
                          <input name="Reset" type="reset" class="style14" value="Reset">
                  </form>

Answer : Can a Form Action in php open two different iframes?

The first code you posted had "onClick="MM_goToURL" in it which intercepts the 'submit' function.  I think that's some Dreamweaver code, it usually is when it starts with 'MM'.  Try it without the 'onClick="MM_goToURL....' sections and see if your javascript will work.
Random Solutions  
 
programming4us programming4us