How do i put an onclick and a return false statement in the same submit button?

后端 未结 4 1242
走了就别回头了
走了就别回头了 2020-12-06 17:51

From what i understand, the default treatment for return false is:


However in my c

4条回答
  •  一个人的身影
    2020-12-06 18:36

    just do like this

    
    

    change in function

    function jsfunction()
    {
      //you code 
      return false;
    }
    

    or just try if you dont want to change function

    
    

提交回复
热议问题