Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

move the mouse, its X and Y co-ordinates are shown in IE but not Chrome

 
Vishal Hegde
Ranch Hand
Posts: 1077
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whenver I move the Mouse Browser its X and Y co-ordinates are shown for the IE but not Google Chrome....I also want the same thing to work in Google Chrome.I checked the if condition twice not sure whree I am wrong


 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
document.onmousedown=mouseClicked(); <-- you are calling a function, not assigning a function here and it is not defined in your code
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic