Hi,
I have a form with three buttons after a table: add, save, cancel
Begaining: add button show, save and cancel hide which are set by before page script - it works fine.
After click Add: add a new row to the table and hide the add button, show the save and cancel button.- it does not work - add button works as expected, but the save and cancel button do not show up - which are done by button click script
Don't know why? how can this be done?
Thanks,
button show or hide.
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Code to make a button visible is something like:
If it doesn't work, it may be that another control higher up is hidden. The rule is that a control is hidden if the contrrol or any of its parents are hidden. This rule also applies to display only.
Code: Select all
controls.MYBUTTON.show();
0 x
Who is online
Users browsing this forum: No registered users and 13 guests