@ -12,7 +12,7 @@
<h1>表单取值</h1>
<p>Form get textarea value.</p>
</header>
<form method="post" action="./php/post.php">
<form method="post" action="http://editormd.ipandao.com/php/post.php">
<div id="test-editormd">
<textarea style="display:none;">####表单取值
@ -1,5 +1,6 @@
<?php
header("Content-Type:text/html; charset=utf-8");
header("Access-Control-Allow-Origin: *");
if (isset($_POST['submit'])) {
echo "<pre>";
@ -23,7 +23,7 @@
<button id="show-toolbar-btn">显示工具栏</button>
<button id="close-toolbar-btn">关闭工具栏</button>
</div>
<form action="php/post.php" method="post">
<form action="http://editormd.ipandao.com/php/post.php" method="post">
<div class="editormd" id="test-editormd">
<textarea>###Hello world!</textarea>