ctrlKey মাউস ইভেন্ট প্রপার্টি দেখায় যে মাউস বাটন ক্লিক করার সময় CTRL কী প্রেস করা হয়েছে কিনা।
উদাহরণ
<!DOCTYPE html> <html> <body onmousedown="funcCtrlKey(event)"> <div>Press and hold CTRL key and then click here.</div> <script> function funcCtrlKey(event) { if (event.ctrlKey) { alert("CTRL key: Pressed"); } else { alert("CTRL key: NOT Pressed"); } } </script> </body> </html>