SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    onpropertychange event is not working for Mozilla firefox

    If i change the hidden filed value then i want to execute one method.
    For IE i used onpropertychange event, its working fine.
    But for Mozilla firefox browser its not working....

    Please help me on this...

    Thanks & Regards
    Adil.

  2. #2
    SitePoint Enthusiast
    Join Date
    Dec 2007
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    onpropertychange is a Microsoft-specific event. It will never work with any other browser.

  3. #3
    SitePoint Guru
    Join Date
    Apr 2006
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    firefox has some support for the dom MutationEvent interface, which fires for element property and attribute changes.

    Its more complex than onpropertychange, but it is also more customizable.

  4. #4
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mrhoo View Post
    firefox has some support for the dom MutationEvent interface, which fires for element property and attribute changes.

    Its more complex than onpropertychange, but it is also more customizable.

    Can u plz help me how to achive this MutationEvent interface

  5. #5
    SitePoint Guru
    Join Date
    Apr 2006
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  6. #6
    SitePoint Enthusiast
    Join Date
    Nov 2004
    Location
    Ontario, Canada
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ooooh. That's neat. Could I use that to fire an event when, say, the "style" property is changed? Any examples of doing something like that? That kind of thing would be marvelous for something I'm building right now...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •