为什么我的$sjj变量获取不到文本其中的内容呢,也echo不出来!!各位高手
直接上代码:
<php
$sjj = $_get['sj'];
echo $sjj;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>完整demo</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script type="text/javascript" charset="utf-8" src="ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="lang/zh-cn/zh-cn.js"></script>
<style type="text/css">
div{
width:100%;
}
</style>
</head>
<body>
<div>
<h1>完整demo</h1>
<script id="editor" type="text/plain" style="width:1024px;height:500px;"></script>
</div>
<form action="#" method="post">
<script type="text/javascript">
//实例化编辑器
var ue = UE.getEditor('editor');
var sj = getPlainTxt()
</form>
</script>
</body>
</html>