Why doesn't my form post when I disable the submit button to prevent double clicking?

后端 未结 10 1351
广开言路
广开言路 2020-12-31 19:06

Like every other web developer on the planet, I have an issue with users double clicking the submit button on my forms. My understanding is that the conventional way to han

10条回答
  •  臣服心动
    2020-12-31 19:47

    I think you're just missing this tag:

    UseSubmitBehavior="false"
    

    Try it like this:

    
    

    Explanation

提交回复
热议问题