<form name="form1" action="admin_stories.php" method="POST"> <input type="hidden" name="request" id="request" value="" /> <input type="hidden" name="stage" id="stage" value="" /> <input type="hidden" name="story_id" value=""> <p> Title:<br /> <textarea name="story_title" id="story_title" cols="65" rows="2"></textarea> </p> <p> Content:<br /> <!--<textarea name="story_content" id="story_content" cols="65" rows="20"></textarea>--> </p> <div id="story_content"></div> <h2>Story to Page Mapping</h2> <table> <tr> <td>Currently Attached To:</td> <td><span id="page_title_list"></span></td> </tr> <tr> <td>Add Story to Page:</td> <td><select name="page_title_add" id="page_title_add" title="Page the story will be added to"></select></td> </tr> <tr> <td>Remove Story from Page:</td> <td><select name="page_title_delete" id="page_title_delete" title="Page the story will be removed from"></select></td> </tr> </table> <p> <input type="submit" name="submit" value="Submit" onClick="return validateForm();" /> <input type="button" name="cancel" id="cancel" value="Cancel" onClick="location.href='admin_stories_list.php';" /> </p> <!-- <p style="cursor: pointer; background-color: blue;" onClick="location.href='admin_stories.php?request=xml&stage=edit';">XML</p> --> </form>