Javascript code to detect any page changes? (maybe via AJAX)

后端 未结 1 1891
故里飘歌
故里飘歌 2021-02-06 18:55

Ok so I\'m new to writing javascript, and here\'s what I\'m doing/trying to do.

When a page loads (window.onload) my javascript code goes through all the forms in a page

1条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-06 19:37

    use .live() ?

    $(document).ready(function()
    {
        $(document).live("onchange",function()
        {
            // blah?
        });
    });
    

    0 讨论(0)
提交回复
热议问题