Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
5
Reply
show and hide div with element from code behind
MR alaa
Apr 6 2016 4:15 PM
511
Reply
hi every body
i want to switch between two divs on mouse over using code behind i try this but no way
how it can be done ???
this is my code
< div id = "myDiv" runat = "server" >
< p > triallllllll </ p >
</ div >
< div id = "myDiv2" runat = "server" >
< p > triallllllll </ p >
</ div >
in code behind by default
myDiv.Style.Add("display", "");
how can i make mydiv hidden and mydiv2 is visible on mouse over ???
my page is inherted from masterpage
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
linq code for view cart seession
How to use Web Crawling?