views:

34

answers:

1

Hi friends i am doing a project in that i need to disable some controls from antother page. For example i have a button named "View profile" in Mainpage.html . i want to disable the button from Profile.html . please help me to fix this problem. Thanks in Aadvance.

+1  A: 

On the profile page set a cookie that is read on Mainpage.html, depending on whether its set or not the control is disabled.

Trotts
Please read my comment to the OP. Not downvoting just yet.
Cerebrus
Well its tagged for javascript so I assume that was implied.
Trotts
My point: Session state in HTML pages?
Cerebrus
Sorry I misunderstood, I didnt think the OP was using just vanilla html.
Trotts