The message is from Firefox, not from Firebug. My guess is that nEvent is not an Object but rather an Event and you are trying to set Event.target which may not have a setter only a getter.
jjb On Feb 5, 10:56 am, pagenotes <pageno...@gmail.com> wrote: > I'm debugging a script in which I declare an object, nEvent, and then > make assignments such as the following: > > nEvent.target = e.target > nEvent.pageX = e.pageX > > To which firebug replies "setting an attribute that is only a > getter". The problem goes away when I change the field names: > > nEvent.nTarget = e.target > nEvent.nPageX = e.pageX > > If it's my variable, shouldn't I be the one to choose which properties > my variable supports? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to firebug@googlegroups.com To unsubscribe from this group, send email to firebug+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/firebug?hl=en -~----------~----~----~----~------~----~------~--~---