Andrew.Goal's profileAndrew Goal's BlogPhotosBlogListsMore Tools Help

Blog


    September 15

    浏览器为何不开放 查看某个html dom元素上注册的所有事件处理函数的接口? 感觉挺奇怪的 难道有什么安全隐患? 续

    比如一个<Button> 用addEventListener 对click事件 添加多个处理函数 却没有接口查看当前这个Button的click事件共有几个处理函数 更别说遍历每个处理函数了

    似乎必须自己维护有哪些观察者

    这样的机制给接手别人的程序带来很大麻烦 因为你很难定位到兴趣代码

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://ccfstt.spaces.live.com/blog/cns!70050F0335F0CB2!742.trak
    Weblogs that reference this entry
    • None