add an onClick to a CCSmartAjaxButton?
add an onClick to a CCSmartAjaxButton?
- Subject: add an onClick to a CCSmartAjaxButton?
- From: Jesse Tayler via Webobjects-dev <email@hidden>
- Date: Wed, 19 Aug 2020 15:56:11 -0400
I notice that if I bind an onClick to a CCSmartAjaxButton I don’t see that tag
in the DOM later
Leading me to think it was stripped
Leading me to wonder if you can use javascript in the href as the
CCSmartAjaxButton does and still have an onclick behavior?
I'm really just trying to make sure my form submit buttons generally do some
fancy animation while loading…not a high priority
Anyone know what’s up with that?
SaveButton: CCSmartAjaxButton {
action = submitAction;
onClick = "setLoading()";
alt = "Saves your changes";
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden