想要将变量值设置为输入框
success: function(result_email){
console.log(result_email);
('#verify_email').val('asc');
}
得到错误
user-registration.js:123 Uncaught TypeError: "#verify_email".val is not a function
at Object.success (user-registration.js:123)
答案 0 :(得分:1)
你可以尝试
$('#verify_email').val(result_email);