0

I am trying to make a button that increases the scaling so that if the user does not know about (CTRL +) or (CTRL -) they can use my buttons.

I tried the following as an event for a button press. I think there is a problem because it is a native browser call? How to make this event described above happen. Is there a browser call in jquery?

var ev = jQuery.Event("keypress");
ev.ctrlKey = false;
ev.which = 43;
$("document").trigger(ev);
Bhikkhu Subhuti
  • 434
  • 2
  • 12

0 Answers0