In the footer, I'm trying to use Javascript to set the button to disabled. Then I've got an "if" condition (that is working based on console log tests) that would re-enable it in certain cases. I've tried a bunch of variations of the code to disable or enable the button with no luck:
What does work? If I set the button to disabled in the html section, I get the desired behavior, so I'm pretty confident it's a javascript and not a css problem.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
DaveS
I've got a tabular data page with a custom button generated by this code in the header:
In the footer, I'm trying to use Javascript to set the button to disabled. Then I've got an "if" condition (that is working based on console log tests) that would re-enable it in certain cases. I've tried a bunch of variations of the code to disable or enable the button with no luck:
What does work? If I set the button to disabled in the html section, I get the desired behavior, so I'm pretty confident it's a javascript and not a css problem.
Would greatly appreciate any suggestions!
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.