JQUERY: How to show and hide button in header with javascript
Posted: Tue Dec 17, 2019 2:56 pm
by Ole Henrik Oftedal
Hi,
I want to have a mailbox icon in the header of my jquery app (startpage). Can i program this so that the icon is visible to indicate new mail or otherwise hidden? I know how to program the logic and I just need the code to hide a button in my app header (if this is possible).
Best regards
Ole Henrik Oftedal
Timeflex Systemer AS
Norway
https://www.timeflex.com
https://www.timeflex.no
JQUERY: How to show and hide button in header with javascript
Posted: Tue Dec 17, 2019 4:37 pm
by Serhii Kulibaba
Hello,
It is a simple task to do. Please use a code preApperyio("button_name").show()/pre to show the button with a name "button_name" and preApperyio("button_name").hide()/pre to hide it
JQUERY: How to show and hide button in header with javascript
Posted: Tue Dec 17, 2019 7:28 pm
by Ole Henrik Oftedal
Yes, that was easy:-) I thought it would be more diffcult since it was placed in a header:-)