﻿function checkInput()
{
 if($.trim($("#txtTitle").val()).length==0)
    {
    alert('标题不可为空');
        $("#txtTitle").focus();
        return false;
    }
     if($.trim($("#txtContent").val()).length==0)
    {
    alert('内容不可为空');
        $("#txtContent").focus();
        return false;
    }
     if($.trim($("#txtVcode").val()).length==0)
    {
    alert('验证码不可为空');
        $("#txtVcode").focus();
        return false;
    }
    return true;
}
