I am currently working on a website which uses MVC model. I have a Layout page and 4 pages(home,contactus,aboutus,ourwork) which use this Layout. I am having this situation where I want to use the html element defined in layout page in one of the page(ex. home). use in the sense modify certain property of that element(using javascript).
example: lets say there is a button defined in layout page and i want to change the display property of the button when some action happens in home page