socialforge/app/views/poll/_edit_head.html.erb

21 lines
758 B
Plaintext
Raw Normal View History

2015-01-13 20:34:44 +08:00
<script type="text/javascript">
function regexPollsTitle()
{
var polls_title = $.trim($("#polls_title").val());
alert(polls_title);
}
</script>
<div class="ur_editor ur_title_editor"> <!--编辑头部start-->
<div class="ur_title_editor_title">
2015-01-13 20:34:44 +08:00
<input type="text" name="title" id="polls_title" class="input_title" placeholder="问卷标题" onkeyup="regexPollsTitle();"/>
</div>
<div class="ur_title_editor_prefix">
2015-01-13 20:34:44 +08:00
<textarea name="prefix" class="textarea_editor" placeholder="问卷描述">
</textarea>
</div>
<div class="ur_editor_footer">
<a class="btn_submit" data-button="ok">确定</a>
<a class="btn_cancel" data-button="cancel">取消</a>
</div>
<div class="cl"></div>
</div><!--编辑头部 end-->