I'm new in Jquery.
I'm developing a mobile application with HTML5 + CSS and JQUERY,
If I go to develop an application for Android with native code, for example: I can use a function on listview, when the user presses for some seconds an action happens , so I'd like to do same event , but with jquery.
I have this div
<div class="perform-mouse-press"> hsjashja </div>
When I click on it I would like to do something like this :
//Holding some seconds , but the user is pressing the div
$(".perform-mouse-press).mousepress(function(){
//Doing something...
});
Has somebody any idea how can I do it ?