Please tell me how to bind button events to swipeleft.

/ / Setup the buttons.

$(options.buttonLeft).bind("mouseup",this,function(event){
    event.data.rotate(-1);    
    return false;
});

$("- sharpstage"). On ("swipeleft", function () {

)

});

how to bind these two events to trigger the button event when sliding to the left, but you do not need to press button

swipeleft uses jQuery mobile

Mar.05,2021

function triggerBtn() {
    $(options.buttonLeft).bind('mouseup',this,function(event){
        event.data.rotate(-1);    
        return false;
    });
}

$("-sharpstage").on("swipeleft",function(){
    triggerBtn()
});
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e445ff-44ab9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e445ff-44ab9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?