I've ported an old javascript game of Checkers to a widget s60 5th Edition - Nokia 5800 etc. - available at www.moubail.com. How ever I would like to enable the vibration effect for 'non link' elements.

So the question is - how do I trigger a vibration when clicking (onclick event) a <div> or an <img> element? I've used div's as the element for the moving pieces in the game but was unable to find a solution as to how to give feedback for clicking an object? Easiest solution would be to make all elements into links but surely it's possible to make it work some other way as well - right?

Any suggestions?