jquery觸發ajax 的error

| |
[不指定 2008/03/24 13:49 | by Else ]
ajax那裡有個屬性,是error時候出現的,

但沒有權限的時候要觸發error怎麼辦呢

讓dom ,或是返回為空


if session("admin")=1 then
    code
end if



if then
response.write "ok"
else
response.write
end fi

當 session("admin")=1的時候不會出錯,沒有管理權限的時候,就會觸發ajax

作者:Else 's Blog
地址:http://www.aixq.com/post/970/
版权所有。转载时必须链接形式注明作者和原始出处及本声明!
  • 中查看更多“jquery觸發ajax 的error”相关内容
  • 中查看更多“jquery觸發ajax 的error”相关内容
  • 中查看更多“jquery觸發ajax 的error”相关内容
  • 中查看更多“jquery觸發ajax 的error”相关内容
  • 中查看更多“jquery觸發ajax 的error”相关内容
  • 中查看更多“jquery觸發ajax 的error”相关内容

  • 最后编辑: Else 编辑于2008/04/10 00:44
    Tags: , , ,
    代码 程序 编程 | 评论(0) | 引用(0) | 阅读(2920)
    发表评论
    表情
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    emotemotemotemotemot
    打开HTML
    打开UBB
    打开表情
    隐藏
    昵称   密码   游客无需密码
    网址   电邮   [注册]
                   

    验证码 不区分大小写