|
|
|
@ -22,3 +22,21 @@
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div><!--编辑头部 end-->
|
|
|
|
|
<% end%>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function(){
|
|
|
|
|
if($('#polls_description_div').html().trim() == '') {
|
|
|
|
|
$('#polls_description_div').html("<p style='color:#999999'>问卷描述</p>");
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#polls_description_div').focus(function(){
|
|
|
|
|
//alert($('#polls_description_div').html().trim());
|
|
|
|
|
if(/^\s*<\w*\s*\w*\=\"\w*\:\s*\#\d*\"\>[\u4e00-\u9fa5]*<\/\w*\>\s*$/.test($('#polls_description_div').html().trim())) {
|
|
|
|
|
$('#polls_description_div').html('');
|
|
|
|
|
}
|
|
|
|
|
}).blur(function(){
|
|
|
|
|
if($('#polls_description_div').html().trim() == '') {
|
|
|
|
|
$('#polls_description_div').html("<p style='color:#999999'>问卷描述</p>");
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|