JQUERY: How to show and hide button in header with javascript

This forum contains topics that were moved from Get Satisfaction
Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

JQUERY: How to show and hide button in header with javascript

Post 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

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

JQUERY: How to show and hide button in header with javascript

Post 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

Ole Henrik Oftedal
Posts: 0
Joined: Thu Apr 19, 2012 4:52 pm

JQUERY: How to show and hide button in header with javascript

Post by Ole Henrik Oftedal »

Yes, that was easy:-) I thought it would be more diffcult since it was placed in a header:-)

Post Reply