Browse Source

实现验证码刷新

wkeyuan 3 years ago
parent
commit
517f667d06
1 changed files with 4 additions and 0 deletions
  1. 4 0
      static/diaowen/js/dw/an/an-pcm-common.js

+ 4 - 0
static/diaowen/js/dw/an/an-pcm-common.js

@@ -37,3 +37,7 @@ function checkAnswerSurvey(sid){
     }
   });
 }
+function refreshAutoCode(codeImgId){
+  var ctx = $("#ctx").val();
+  $("#"+codeImgId).attr("src",ctx+"/jcap/jcaptcha.do");
+}