Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a div made invisible by javascrpt.I want to visible the div when button is clicked and then execute some code.but there is a button in div that make the div invisible by javascript.I came to know that if i make visible the div by c# code,it can not be invisible by javascript.So how can i do the whole?
Posted
Comments
Monjurul Habib 17-May-12 15:38pm    
share you html to guide you properly.

1 solution

Not true. Div is HTML DOM object. It can always be accessed using javascript as long as it is still present in DOM.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 17-May-12 15:40pm    
Ha-ha, a good catch. My 5.
--SA
Manas Bhardwaj 17-May-12 15:48pm    
thanks SA!
souvikcode 17-May-12 23:55pm    
ok.tell me how to do the required work which i have explained.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900