Hide Button, Hide Cancel Button on one page but no impact to Cancel on other pages |
Hide Button, Hide Cancel Button on one page but no impact to Cancel on other pages |
kshukers |
Jan 28 2020, 03:02 PM
Post
#1
|
Group: Members Posts: 2 Joined: 28-January 20 Member No.: 27,139 |
Hi All,
I am trying to hide the Cancel button on one page but not impact the other pages where cancel buttons exist. I am a novice so I was using <style> button#btn_cancel { display: none; } </style> The problem is that the Cancel button on all other pages also are hidden. Thoughts? Thanks! |
Christian J |
Jan 28 2020, 03:21 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
I am trying to hide the Cancel button on one page Why not simply remove the button's HTML? QUOTE but not impact the other pages where cancel buttons exist. Are the pages separate HTML files, or just one file where the content is changed by scripting? QUOTE I was using <style> button#btn_cancel { display: none; } </style> Should work, but only use it in the HTML file where the button you want to hide is. |
kshukers |
Jan 28 2020, 05:45 PM
Post
#3
|
Group: Members Posts: 2 Joined: 28-January 20 Member No.: 27,139 |
Christian - Thank you very much. I added it to the HTML for that single page and worked fine.
Thanks again |
Lo-Fi Version | Time is now: 26th April 2024 - 08:54 AM |