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>