This will only happen when my students will conduct online quiz using my site. After they have logged in to my site and opening the page for online quiz that's the only page where those keys should be disabled to ensure that when they conduct the quiz they will not copy the questions and give it to my other students who were not able to take yet their online quiz.
I think this objective is good. If you dont want to share the code to anybody else they might use it for bad things, please email to me the answer at <snipped>. You may visit my site to prove that I am using it in my class <snipped>
Yes you can disable those keys, but it won't stop them from using the clipboard.
People like to complain about lazy students, I should about lazy teachers like you
I think you got me wrong peter_budo. What I am saying is PrintScreen key of the keyboard and not an attempt to print the page. Next time may we be responsible enough in the statements that we write. The very purpose of this forum is learning and not complaining. You should know that most of the visitors of this site patiently read all the postings to learn and not to criticize anybody.
On the contrary, I still appreciate you on your honest intention to help me...
Thanks srikanthkadem! It works well in my project. I only experience a problem when the PrintScreen key of the keyboard is pressed the first time, still it captures a data. Rest assured, I really salute all those members who patiently and humbly answer postings in this forum...