JS memperoleh koordinat mouse dan memperoleh contoh khas titik piksel mouse. <! Doctype html public "-// w3c // dtd xhtml 1.0 transisi // en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <h2> <head> <Title> JavaScript mendapatkan koordinat mouse </iteme> <meta http-equiv = "konten tipe" content = "text/html; charset = gb2312"/> <style type = "text/css">. Tip {lebar: 200px; [Ctrl+A Select All Catatan: Jika Anda perlu memperkenalkan JS eksternal, Anda perlu menyegarkan untuk mengeksekusi]