不行!按照你的方式,在HTML中就是不行!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ABC_TOUR_REG_FORM</title>
<link href="templates/default/images/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
at import url(htmlarea/htmlarea dot css);
</style>
<script type="text/javascript">
_editor_url = "htmlarea"; // omit the final slash
</script>
<!-- load the main HTMLArea files -->
<script type="text/javascript" src="htmlarea/htmlarea.js"></script>
<script type="text/javascript" src="htmlarea/lang/gb.js"></script>
<script type="text/javascript" src="htmlarea/dialog.js"></script>
<script type="text/javascript" src="htmlarea/popupwin.js"></script>
<script type="text/javascript">
var editor = null;
function initEditor(){
editor = new HTMLArea("companyintro");
editor.generate();
return false;
}
</script>
</head>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onload="initEditor()">
---------------
FORM表单里
<textarea styleId="companyintro" property="companyintro" cols="70" rows="10" style="width:100%"></textarea>
回复 更多评论