我有一个实时预览形式: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