I\'ve been looking for a solution in this forum, but not found yet. I need to keep the focus on a canvas element always, no matter where i click on the page. I have several
using jQuery , you can use trigger()
trigger()
$("#canvas").trigger("click");