Location: PHPKode > projects > phpAWE > phpAWE.0.4.beta.demo-page/awe/layout/aweManager/html/PageMenu/addForm/item.html
<script language="javascript">

function submitAdd(form) {
//parent.selected_dir
document.addform.action ='index.php?action=add&edit=PageMenu&mode=1&id1='+parent.selected_dir;
return true;
}


</script>

<form name="addform" method="post" action="" onSubmit="return submitAdd(this);">
  <table>
    <tr>
      <td>Nazwa folderu:</td><td><input name="name" value=""></td>
    </tr>
    <tr>
      <td></td><td><input type="submit" value="Zapisz" name="zapisz"><input type="submit" value="Anuluj" name="anuluj"></td>
    </tr>
  </table>
</form>
Return current item: phpAWE