How to disable a link button in jQuery Mobile?

后端 未结 6 1078
被撕碎了的回忆
被撕碎了的回忆 2021-02-05 14:46

I have a jQuery Mobile Beta 1 website with jQuery 1.6.1 link button like this:

TEST         


        
6条回答
  •  有刺的猬
    2021-02-05 14:57

    I know there's already an accepted answer to this, but I think this answer is much easier to understand. Just have the click function return false.

    TEST
    
    
    

提交回复
热议问题