अवलोकन
shiftKey माउस इवेंट प्रॉपर्टी बताती है कि माउस क्लिक के समय SHIFT कुंजी दबाई गई थी या नहीं।
उदाहरण
<!DOCTYPE html> <html> <body onmousedown = "funcShiftKey(event)"> <div>Press and hold SHIFT key and then click here.</div> <script> function funcShiftKey(event) { if (event.shiftKey) { alert("SHIFT key: Pressed"); } else { alert("SHIFT key: NOT Pressed"); } } </script> </body> </html>