日期:2014-05-16 浏览次数:20558 次
var function = buttonclick(){
var title = $("#askfdk_da_mob").val();
url = "aa.com/xxx";
url += "title="+title+"";
location.hreg = url;
}
value='<?php echo $_GET['title'] ?>
if(isset($_POST['note'])){
$note=$_POST['note'];
echo "<input type='hidden' value='$note' id='content' />";
}
<form method="post">
<textarea id="note_reply"></textarea>
<input type="submit" value="post" />
</form>
document.getElementById('note_reply').value=document.getElementById('content').value;
<form action="第二个页面" method="post">
内容:<input type="text" name="question" />
<input type="submit" name="sub" />
</form>
$question = $_POST["question"];
<input type="text" name="question" value="<?php echo $question; ?>">