增加input为空时的提示,修改部分html错误

This commit is contained in:
sw 2015-01-13 20:20:28 +08:00
parent 311d90d565
commit 85542095a6
4 changed files with 12 additions and 12 deletions

View File

@ -2,22 +2,22 @@
<div class="ur_editor radio">
<div class="ur_editor_title">
<label >问题:&nbsp;&nbsp;</label>
<input class="ur_question_title" type="text" name="title" placeholder="请输入问题标题" value="单选题">
<input type="checkbox" name="required" value="true" checked="">
<input class="ur_question_title" type="text" name="title" placeholder="请输入问题标题"/>
<input type="checkbox" name="required" value="true" checked=""/>
<label >必答</label>
</div>
<div class="ur_editor_content">
<ul>
<li class="ur_item">
<label >选项 <span class="ur_index">01</span> </label>
<input type="text" name="option" value="新建选项">
<input type="text" name="option" placeholder="新建选项"/>
<a class="icon_add" title="向下插入选项"></a>
<a class="icon_remove" title="删除"></a>
</li>
<div class="cl"></div>
<li class="ur_item">
<label >选项 <span class="ur_index">01</span> </label>
<input type="text" name="option" value="新建选项">
<input type="text" name="option" placeholder="新建选项"/>
<a class="icon_add" title="向下插入选项"></a>
<a class="icon_remove" title="删除"></a>
</li>

View File

@ -2,22 +2,22 @@
<div class="ur_editor checkbox">
<div class="ur_editor_title">
<label >问题:&nbsp;&nbsp;</label>
<input class="ur_question_title" type="text" name="title" placeholder="请输入问题标题" value="多选题">
<input type="checkbox" name="required" value="true" checked="">
<input class="ur_question_title" type="text" name="title" placeholder="请输入问题标题" value="多选题"/>
<input type="checkbox" name="required" value="true" checked=""/>
<label >必答</label>
</div>
<div class="ur_editor_content">
<ul>
<li class="ur_item">
<label >选项 <span class="ur_index">01</span> </label>
<input type="text" name="option" value="新建选项">
<input type="text" name="option" placeholder="新建选项"/>
<a class="icon_add" title="向下插入选项"></a>
<a class="icon_remove" title="删除"></a>
</li>
<div class="cl"></div>
<li class="ur_item">
<label >选项 <span class="ur_index">01</span> </label>
<input type="text" name="option" value="新建选项">
<input type="text" name="option" placeholder="新建选项"/>
<a class="icon_add" title="向下插入选项"></a>
<a class="icon_remove" title="删除"></a>
</li>

View File

@ -1,8 +1,8 @@
<div class="ur_editor textarea"> <!--编辑多行文字start-->
<div class="ur_editor_title">
<label for="ur_question_title">问题:&nbsp;&nbsp;</label>
<input id="ur_question_title" class="ur_question_title" contenteditable="true" type="text" name="title" placeholder="请输入问题标题" value="多行文字">
<input type="checkbox" name="required" value="true" id="ur_question_require">
<input id="ur_question_title" class="ur_question_title" contenteditable="true" type="text" name="title" placeholder="请输入问题标题"/>
<input type="checkbox" name="required" value="true" id="ur_question_require"/>
<label for="ur_question_require">必答</label>
</div>
<div class="ur_editor_toolbar">

View File

@ -1,8 +1,8 @@
<div class="ur_editor text "> <!--编辑单行文字start-->
<div class="ur_editor_title">
<label for="ur_question_title">问题:&nbsp;&nbsp;</label>
<input id="ur_question_title_1" class="ur_question_title" contenteditable="true" type="text" name="title" placeholder="请输入问题标题" value="单行主观">
<input type="checkbox" name="required" value="true" id="ur_question_require_2">
<input id="ur_question_title_1" class="ur_question_title" contenteditable="true" type="text" name="title" placeholder="请输入问题标题"/>
<input type="checkbox" name="required" value="true" id="ur_question_require_2"/>
<label for="ur_question_require">必答</label>
</div>
<div class="ur_editor_footer">