Why does this work in firefox but not IE?
How do I get this to work in IE?
T.I.A
Code:
<form name="form1" id="form1">
<textarea name="biog" id="biog"></textarea>
<input type="button" name="Button" value="Paragraph" onClick="code('form1','biog','[p][/p]')">
</form>
<script language="JavaScript" type="text/JavaScript">
function code(the_form,form_element,thecode){
document.eval(the_form).eval(form_element).value += thecode;
}
</script>
T.I.A