我有一個實時預覽形式:http://davidwalsh.name/jquery-comment-preview 其中用了jQuery實時顯示預覽:執行PHP和jQuery的表單驗證
$(document).ready(function() {
$('#live-preview-form input, #live-preview-form textarea').bind('blur keyup',function() {
$('#lp-comment').text($('#comment').val());
$('#lp-comment').html($('#lp-comment').html().replace(/\n/g,'<br />'));
});
});
如果我需要辦理的「#COMMENT一些PHP函數「它來自textarea,然後把它放入jQuery驗證?
將表單提交上的jQuery驗證碼 – diEcho 2011-04-13 06:12:35