Posts: 2,320
Name: Keith Marshall
Location: West Hartford, CT
|
I think I have been starring at this for too long, and I can't figure why the following is not working even though I had it working from another page.
The form will not submit in IE and flags a js error, FF javascript console says "document.imageManager.submit is not a function"
?? Any ideas - I know its something so simple I'll just kick myself...
HTML Code:
<fieldset>
<legend>Image Manager</legend>
<form name="imageManager" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" />
<p class="button">
<input type="hidden" name="sid" value="<?php echo $_GET['sid']; ?>" />
<input type="hidden" name="ws" value="<?php echo $imanagerWSFile; ?>" />
<input type="hidden" name="fs" value="<?php echo $imanagerFSFile; ?>" />
<input type="checkbox" id="overwrite" name="overwrite"<?php echo ($_GET['ox'] == 1) ? ' checked' : ''; ?> />
<label for="overwrite">
Overwrite exisiting images if already exists
</label>
<input type="submit" name="submit" value="Process Image" onClick="this.value='One Moment Please...';this.disabled=true;imageManager.cancel.disabled=true;document.imageManager.submit();" />
<input type="button" name="cancel" value="Cancel" onClick="window.close()" />
</p>
</form>
<div align="center">
<?php echo '<strong>' . $imanagerWSFile . '</strong><br /><br />' . force_max_preview($imanagerFSFile, $imanagerWSFile); ?>
</div>
</fieldset>
__________________
<mgraphic /> - I don't have a solution but I admire the problem.
|