AJAX获取的html元素,之后的js不能调用的有关问题

AJAX获取的html元素,之后的js不能调用的问题
<script>
$.ajax({
url : '/ecp/actions/LoginInit.action?loginCheck&tamp=' + (new Date()).getTime(),
type : "GET",
dataType: 'json',
success : function(data, status) {
if(data.success){
document.getElementById('div_wz').innerHTML = '<div class="loginChecked"><dl><dt>用户名:</dt><dd>' + data.username + '</dd></dl><dl><dt>状态:</dt><dd><div style="color:#0B610B;font-weight:bold">已登录</div></dd></dl><dl><dd><stripes:errors field="loginfail" /><stripes:errors field="a_yzm" /></dd></dl><ul style="text-align:center"><li style="padding-left:35px; padding-top:30px"><a href="/ecp/actions/LoginInit.action?autoLogin" class="enterBtn"></a></li><li style="padding-left:35px"><a href="#" onclick="logout();" class="logoutBtn"></a></li><li style="padding-left:35px"><a href="/ecp/actions/RegMain.action" class="regBtn"></a></li></ul></div>';
}
else{
document.getElementById('div_wz').innerHTML = '<div class="loginInputzjm" style=" height:250px;"><dl> <dd><input style="width:175px; height:30px;" id="user_Login" name="user_Login"  value="用户名" class="userInputBgzjm" onkeydown="autoLogin(event)" ; /></dd></dl><br><dl><dd> <input  style=" width:175px; margin-top:5px; " type="text" id="password1" name="password1" class="passwordInputBgzjm"  value="密码"  /><input  style=" width:175px; margin-top:5px; display:none;" type="password" id="password" name="password" class="passwordInputBgzjm"   onkeydown="autoLogin(event)"; /> </dd></dl><dl><dd><a  style=" margin-left:110px; margin-top: 4px; color:#0059A7; text-decoration:underline;" href="/ecp/actions/findPassword/FindPassword.action?findPassword">忘记密码?</a></dd></dl><dl><dd style=" margin-top:-8px;"><input  style="width:80px; height:25px; background-color:#F6F7F8; border:1px #E3E2E2 solid; margin-left:-8px; padding-left: 5px; padding-top:5px;" value="验证码" id="a_yzm" name="a_yzm" class="checkInputBg"  onkeydown="autoLogin(event)";/> <img id="yzm_img" class="img" style="padding-top:5px;" src="/ecp/actions/provider/Yzm.action?yzm" onclick="changeYzm()" /></dd></dl><dl><dd style="margin-left:90px;color:#0059A7; text-decoration:underline;" ><a href="#" onClick="changeYzm()">看不清?换一张</a></dd></dl><dl><dd><div id="inputError"></div><stripes:errors field="a_yzm" /></dd></dl><dl><dd style="margin-left:-6px;"><a  href="#" onclick="javascript:saveUser();" class="loginBtn"></a></dd><dd style="padding-left:35px"><div style=" width:200px; background-color:#E1E1E1; height:30px; margin-top:0px; margin-left: -52px;"><p align="center" style=" text-align: center; padding-top: 5px;">还没有账号?</p><a href="/ecp/actions/RegMain.action"  style=" float:left; margin-top: -18px; margin-left:135px; color:#0059A7; text-decoration: underline;"> 立即注册></a></div></dd></dl></div>';
}
},
error : function(e) {
view_error("错误", "系统出现异常,请稍后再试!");
}
});
</script>
这是AJAX获取html元素的代码

 <script >
$(function(){
    $('#user_Login').focus(
function()
{
        var txt1_value=$('#user_Login').val();
        if(txt1_value=="用户名"){
        $(this).val('');
        }
    }
)
    $('#user_Login').blur(function(){
        var txt1_value=$('#user_Login').val();
        if(txt1_value=="")
        $(this).val('用户名');{
        }
    })

  var $txt2_obj=$('#password1');//获取id为txt2的jquery对象
    var $pswd_obj=$('#password');
    $txt2_obj.focus(function(){
        $pswd_obj.show().focus();//使密码输入框获取焦点
        $txt2_obj.hide();//隐藏文本输入框

   })
    $pswd_obj.blur(function(){
         if($pswd_obj.val()==''){
         $txt2_obj.show();
         $pswd_obj.hide();
         }
    
    })
$('#a_yzm').focus(
function()
{
        var txt1_value=$('#a_yzm').val();
        if(txt1_value=="验证码"){
        $(this).val('');
        }
    }
)
    $('#a_yzm').blur(function(){
        var txt1_value=$('#a_yzm').val();
        if(txt1_value=="")
        $(this).val('验证码');{
        }
    })

});
</script>
这是js调用获取的html元素的方法,不能执行,求问大神该如何解决!
------解决思路----------------------
你先阅读一下这篇文章 http://www.impng.com/web-dev/execscript-loaded-by-ajax.html
------解决思路----------------------
那你就说明一下 ajax 取到的是什么
什么地方的 js 不能执行