I\'m having a problem with my button in my HTML5 application. When I press the button a Video player runs and plays the video that is stored locally. My issue now is that when I
Actually onmousedown event instead of onClick will do the trick.
Again the same syntax:
Click me! function clickFunction(){ //code goes here }
function clickFunction(){ $(button).onmousedown(function(){ //code goes here }); };