/admin/mnkc/mnkc_add.asp
打开把 ------word标签替换------ -----word标签替换--完---- 区域替换成下面代码
'----------------------------------------------word标签替换---------------------------------------
sj=replace(sj&"","{#blanks}","<input type='text' name='inblanks' class='anstext'/> --><input type='text' name='inblanks_fs' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')"" />分")
sj=replace(sj&"","{#choice}","<div class='inchoice'>答案设置:<select name='inchoice'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option><option value='d'>D</option>输入</select> --><input type='text' name='inchoice_fs' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
if instr(sj,"{#choice_b}")<>0 then
sj=replace(sj&"","{#choice_b}","<div class='inchoice'>答案设置:<select name='inchoice_b'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option></select> --><input type='text' name='inchoice_fs_b' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
end if
if instr(sj,"{#choice_c}")<>0 then
sj=replace(sj&"","{#choice_c}","<div class='inchoice'>答案设置:<select name='inchoice_c'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option></select> --><input type='text' name='inchoice_fs_c' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
end if
if instr(sj,"{#choice_d}")<>0 then
sj=replace(sj&"","{#choice_d}","<div class='inchoice'>答案设置:<select name='inchoice_d'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option><option value='d'>D</option></select> --><input type='text' name='inchoice_fs_d' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
end if
if instr(sj,"{#choice_e}")<>0 then
sj=replace(sj&"","{#choice_e}","<div class='inchoice'>答案设置:<select name='inchoice_e'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option><option value='d'>D</option><option value='e'>E</option></select> --><input type='text' name='inchoice_fs_e' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
end if
if instr(sj,"{#choice_f}")<>0 then
sj=replace(sj&"","{#choice_f}","<div class='inchoice'>答案设置:<select name='inchoice_f'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option><option value='d'>D</option><option value='e'>E</option><option value='f'>F</option></select> --><input type='text' name='inchoice_fs_f' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
end if
if instr(sj,"{#choice_g}")<>0 then
sj=replace(sj&"","{#choice_g}","<div class='inchoice'>答案设置:<select name='inchoice_g'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option><option value='d'>D</option><option value='e'>E</option><option value='f'>F</option><option value='g'>G</option></select> --><input type='text' name='inchoice_fs_g' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
end if
if instr(sj,"{#choice_h}")<>0 then
sj=replace(sj&"","{#choice_h}","<div class='inchoice'>答案设置:<select name='inchoice_h'><option value='0'>请选择</option><option value='a'>A</option><option value='b'>B</option><option value='c'>C</option><option value='d'>D</option><option value='e'>E</option><option value='f'>F</option><option value='g'>G</option><option value='h'>H</option></select> --><input type='text' name='inchoice_fs_h' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 </div>")
end if
sj=replace(sj&"","{#muchoice}","<div id='muchoice' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C<input name='chfkg' type='checkbox' value='d' />D --><input type='text' name='muchoice_fs' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
if instr(sj,"{#muchoice_b}")<>0 then
sj=replace(sj&"","{#muchoice_b}","<div id='muchoice_b' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B --><input type='text' name='muchoice_fs_b' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
end if
if instr(sj,"{#muchoice_c}")<>0 then
sj=replace(sj&"","{#muchoice_c}","<div id='muchoice_c' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C --><input type='text' name='muchoice_fs_c' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
end if
if instr(sj,"{#muchoice_d}")<>0 then
sj=replace(sj&"","{#muchoice_d}","<div id='muchoice_d' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C<input name='chfkg' type='checkbox' value='d' />D --><input type='text' name='muchoice_fs_d' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
end if
if instr(sj,"{#muchoice_e}")<>0 then
sj=replace(sj&"","{#muchoice_e}","<div id='muchoice_e' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C<input name='chfkg' type='checkbox' value='d' />D <input name='chfkg' type='checkbox' value='e' />E --><input type='text' name='muchoice_fs_e' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
end if
if instr(sj,"{#muchoice_f}")<>0 then
sj=replace(sj&"","{#muchoice_f}","<div id='muchoice_f' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C<input name='chfkg' type='checkbox' value='d' />D <input name='chfkg' type='checkbox' value='e' />E<input name='chfkg' type='checkbox' value='f' />F --><input type='text' name='muchoice_fs_f' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
end if
if instr(sj,"{#muchoice_g}")<>0 then
sj=replace(sj&"","{#muchoice_g}","<div id='muchoice_g' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C<input name='chfkg' type='checkbox' value='d' />D <input name='chfkg' type='checkbox' value='e' />E<input name='chfkg' type='checkbox' value='f' />F<input name='chfkg' type='checkbox' value='g' />G --><input type='text' name='muchoice_fs_g' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
end if
if instr(sj,"{#muchoice_h}")<>0 then
sj=replace(sj&"","{#muchoice_h}","<div id='muchoice_h' class='muchoice'>选择答案:<input name='chfkg' type='checkbox' value='a' />A <input name='chfkg' type='checkbox' value='b' />B <input name='chfkg' type='checkbox' value='c' />C<input name='chfkg' type='checkbox' value='d' />D <input name='chfkg' type='checkbox' value='e' />E<input name='chfkg' type='checkbox' value='f' />F<input name='chfkg' type='checkbox' value='g' />G<input name='chfkg' type='checkbox' value='h' />H --><input type='text' name='muchoice_fs_h' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分</div> ")
end if
sj=replace(sj&"","{#whether}","答案选择:<select name='whether'><option value='0'>请选择</option><option value='a'>对</option><option value='b'>错</option></select> --><input type='text' name='whether_fs' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 ")
sj=replace(sj&"","{#subjective}","<strong>答题区</strong><br/><textarea name='subjective' cols='50' rows='7'></textarea> --><input type='text' name='subjective_fs' value='1' class='sjFs' maxlength='4'this.value=this.value.replace(/\D/g,'')""this.value=this.value.replace(/\D/g,'')""/>分 ")
'----------------------------------------------word标签替换--完---------------------------------------