JS Disable - CFWheels Plugin
ColdFusion
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
JSDisable.cfc
LICENSE
README.md
box.json
index.cfm

README.md

JS Disable - CFWheels Plugin

Adds a disable argument to submitTag(), buttonTag() and buttonTo() that disables the button so it can't be double-clicked.

Usage Examples

#startFormTag()#
  #submitTag(value="Purchase", disable=true)#
#endFormTag()#
#startFormTag()#
  #buttonTag(content="Purchase", disable="Please wait...")#
#endFormTag()#
#buttonTo(text="Delete", action="deleteIt", disable="Please wait...")#