javascript - Accessing parent select value in pop-window or save into a temp table -


i have number of select below.

<form method="post" name="form1" action="addpp.php" enctype="multipart/form-data" onsubmit="return validateform();">         <table width="100%">                        <tr>                         <td>                             <select name="leftprocess" size="5">                                             <option value="1">process 1</option>                                             <option value="2">process 2</option>                                             <option value="3">process 3</option>                                           </select>                         </td>                         <td>                            <button onclick="moveright('leftprocess','rightprocess')">>></button><br/>                            <button onclick="moveleft('rightprocess','leftprocess')"><<</button>                         </td>                         <td>                             <select name="rightprocess" size="5">                              </select>                         </td>                        </tr>                          <tr>                         sub process process 1                         <td>                             <select name="leftsubprocess1" size="5">                                             <option value="1">sub 1_1</option>                                             <option value="2">sub 1_2</option>                                             <option value="3">sub 1_3</option>                                           </select>                         </td>                         <td>                            <button onclick="moveright('leftsubprocess1','rightsubprocess1')">>></button><br/>                            <button onclick="moveleft('rightsubprocess1','leftsubprocess1')"><<</button>                         </td>                         <td>                             <select name="rightsubprocess1" size="5">                              </select>                         </td>                        </tr>                          <tr>                         sub process process 2                         <td>                             <select name="leftsubprocess2" size="5">                                             <option value="1">sub 2_1</option>                                             <option value="2">sub 2_2</option>                                             <option value="3">sub 2_3</option>                                           </select>                         </td>                         <td>                            <button onclick="moveright('leftsubprocess2','rightsubprocess2')">>></button><br/>                            <button onclick="moveleft('rightsubprocess2','leftsubprocess2')"><<</button>                         </td>                         <td>                             <select name="rightsubprocess2" size="5">                              </select>                         </td>                        </tr>                          <tr>                         sub process process 3                         <td>                             <select name="leftsubprocess3" size="5">                                             <option value="1">sub 3_1</option>                                             <option value="2">sub 3_2</option>                                             <option value="3">sub 3_3</option>                                           </select>                         </td>                         <td>                            <button onclick="moveright('leftsubprocess3','rightsubprocess3')">>></button><br/>                            <button onclick="moveleft('rightsubprocess3','leftsubprocess3')"><<</button>                         </td>                         <td>                             <select name="rightsubprocess3" size="5">                              </select>                         </td>                        </tr>                         <tr>                        <td colspan="2" align="right">             <input type="submit" name="add" value="add"  style="width:80px; height:25px;"></input>             <input type="button" name="preview" onclick="javascript:openchildwindow();" value="preview"  style="width:80px; height:25px;"/>             <input type="reset" name="reset" value="cancel"  style="width:80px; height:25px;"/>         </td> </tr>                   </table>     </form> 

the first select process user can choose , push them right select box. accordingly 3 below select sub process process above. user can pick , choose 1 desire.once cick preview button user view selection in format. e.g. use pickprocess 3 followed process 2 , process 1. below must first show sub_proces3 sub_process2 , sub_process1. best select , show these sort of data must save temp table? idea give them preview have select before final submission database.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -