Is it possible to simulate a keypress when I click a div? Something like:
$("mydiv").click(function(){
Presskey->F5
});
Actually the key I'm trying to simulate is F11, so people could press the div and the window would fullscreen. I've searched this and I know it's not possible to make window fullscreen without the user "permission" but in this case he would press the div as he pressed the key. The fact is not everyone knows about F11 (I know I could always put "Press F11 for fullscreen"). Thanks'