For my small wiki, what I need most is to have a text box used to edit content to use soft (or virtual) packaging. However, in some cases, it will be preferable not to package the contents. I thought I would do it just by clicking a button to turn off packaging. Here is the simplified code:
<form name="wikiedit" action="[[script_name]]" method="post">
<textarea name="content" rows="25" cols="90" wrap="virtual">[[content]]</textarea>
<input type="button" onclick="document.wikiedit.content.wrap='off';" value="No Wrap">
<input type="submit" value="Save">
</form>
It works with IE, but not with Firefox or Opera. How should I do it?
Mathieu dubé-dallai
source
share