推薦jQuery 1.6.4 ajax php表單郵件腳本?推薦jQuery 1.6.4 ajax PHP表單郵件腳本
我一直在尋找適合我可以使用的jQuery 1.6.4 ajax php的腳本。我遇到的很多事情都是腳本的一部分,需要花費很多時間才能完成。有什麼從頭到尾都有清晰的描述。如果可能的話,也使用check.php腳本。
我正在使用ajax post與php腳本使用jQuery 1.6.4表單郵件。如果單個輸入字段未填充,則爲jQuery錯誤消息。
要註冊一個ID號碼並選擇模塊主題1或主題2並提交。這將轉到subjectData.mysql數據庫
我已經使用jQuery 1.6.4設計了一個表單郵件。
<div class="field"><!-- Start Login-->
<form action="register.php" method="post" class="register">
<fieldset class="ui-widget ui-widget-content">
<label for="textinput1"><strong>Log in to register a module</strong></label>
<input id="textinput1" placeholder="people number" type="text" /></fieldset>
<fieldset data-role="controlgroup">
<input id="textinput2" placeholder="Password" type="password" /></fieldset>
<fieldset data-role="controlgroup" data-mini="true">
<input type="radio" name="radio-choice-1" id="radio-mini-1" value="modNo1" checked="checked" />
<label for="radio-mini-1">subject 1</label>
<input type="radio" name="radio-choice-1" id="radio-mini-2" value="modNo2" />
<label for="radio-mini-2">subject 2</label></fieldset>
<input type="submit" data-theme="a" name="submit" value="Register" />
<button data-theme="b" id="reset" type="reset">Reset</button>
</form>
</div>
<!-- END Login-->
</div>
你想要什麼check.php做的正是?你可以在PHP端使用任何形式的郵件腳本......你可以像往常一樣將值發送給php,並讓它處理數據。 – prodigitalson 2012-04-10 19:53:08
註冊一個ID號碼,並選擇模塊主題1或主題2,然後提交
這聽起來像你不需要一個formmail腳本,而是需要編寫一個腳本來存儲你的數據,然後可能發送一封郵件。你是否知道PHP,因爲你可能不會找到一些你可以改變一些配置設置的東西,它神奇地工作。 – prodigitalson 2012-04-10 20:00:58