title: event.target on Firefox
body: <pre><code> var x = event.target||event.srcElement;
   document.getElementById(x.id).style.left =  200 + &quot;px&quot; ;
   document.getElementById(x.id).style.top  =  100 + &quot;px&quot; ;
  </code></pre>
  <p>Works fine on Google Chrome and IE but not on Firefox. Tried it on Google. Google says  <code>event.srcElement</code> (works on IE but not on Firefox) so I have added  <code>event.target</code> but still not working. Is there anymore changes I need to do to work on Firefox? By the way I'm using 3.5 version of Firefox.</p>
  <pre><code>   function up()
         {
              dragok = false;
              document.onmousemove = null;
              var x = event.target||event.srcElement;
              document.getElementById(x.id).style.left= 200 + &quot;px&quot; ;
              document.getElementById(x.id).style.top= 100 + &quot;px&quot; ;
         } 
  </code></pre>
  <p>Please help me to make it work on Firefox</p>