|
|
if($('secqaa_qSkR33qb')) {
var sectpl = seccheck_tpl['qSkR33qb'] != '' ? seccheck_tpl['qSkR33qb'].replace(/<hash>/g, 'codeqSkR33qb') : '';
var sectplcode = sectpl != '' ? sectpl.split('<sec>') : Array('<br />',': ','<br />','');
var string = '<input name="secqaahash" type="hidden" value="qSkR33qb" />' + sectplcode[0] + '验证问答' + sectplcode[1] + '<input name="secanswer" id="secqaaverify_qSkR33qb" type="text" autocomplete="off" style="width:100px" class="txt px vm" onblur="checksec(\'qaa\', \'qSkR33qb\')" />' +
' <a href="javascript:;" onclick="updatesecqaa(\'qSkR33qb\');doane(event);" class="xi2">换一个</a>' +
'<span id="checksecqaaverify_qSkR33qb"><img src="' + STATICURL + 'image/common/none.gif" width="16" height="16" class="vm" /></span>' +
sectplcode[2] + '18 - 3 = ?' + sectplcode[3];
evalscript(string);
$('secqaa_qSkR33qb').innerHTML = string;
取18-3 调用到脚本里 正则如下
sectplcode\[2\] \+ '(.*?) = \?' \+ sectplcode\[3\];
|
|