Hi
This is frustrating that when people helps you, you downvoted their answer without properly reading the answer probably. Sometime people might not be able to give your exact answer (providing exact anwer also depends on how the prolem statement/question has been posted though).
What I told you was that anything wrong or does not that make sense at all? :doh:
(1)Check your code please,
Seema Gosain wrote:
input type='button' onClick='setvisible(sub2,none)'
It is not correctly closed while forming the HTML.
(2) I used your code while anwering earlier and I found after compiling your code following error message
"'System.Web.UI.HtmlControls.HtmlGenericControl' does not contain a definition for 'innerHtml'".
I found that correct property name should be "InnerHtml" for divCusr element.
Sometime you might get good hints towards your goal and sometime exact solution in a forum.
If you are not satisfied with any post, wait for some more to appear, and please dont downvote un-neccessary.if you do that, eventually people might stop responding to your question.
:)