Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

How to detect refresh window button when mouse click

  • 1 απάντηση
  • 3 έχουν αυτό το πρόβλημα
  • 4 προβολές
  • Τελευταία απάντηση από cor-el

more options

im web developer,
Im facing problem that,
I have security problem to detect refresh button click by mouse

following coding, IE i get output for my Question but in FF not

var e = (window.event)? window.event:event; // true For IE false FOR other Browser
 if (e.clientY >= -15 || e.clientX >= 1000 ) {
  return "alert msg";
 }

I want to detect the window refresh button onclick mouse position and Close window mouse position,,,,,,,,,

I hope that i ll get reply for my question thanks dude...

im web developer,<br /> Im facing problem that,<br /> I have security problem to detect refresh button click by mouse following coding, IE i get output for my Question but in FF not<br /> <br /> <pre><nowiki>var e = (window.event)? window.event:event; // true For IE false FOR other Browser if (e.clientY >= -15 || e.clientX >= 1000 ) { return "alert msg"; } </nowiki></pre> I want to detect the window refresh button onclick mouse position and Close window mouse position,,,,,,,,, I hope that i ll get reply for my question thanks dude...

Τροποποιήθηκε στις από το χρήστη cor-el

Όλες οι απαντήσεις (1)

more options

A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25