0

快速点击两次按钮执行插入操作,插入了两条数据,如何避免这个问题呢?

asked 2015-06-09 04:52:13 +0800

gehaochuan gravatar image gehaochuan
1

updated 2015-06-09 04:55:42 +0800

快速点击两次按钮执行插入操作,插入了两条数据,如何避免这个问题呢?

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-06-09 06:59:56 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

You can use autodisable="self" is you are using a button.

Refer to this documentation.

Greetz chill.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-06-09 04:52:13 +0800

Seen: 8 times

Last updated: Jun 09 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More