i am using asp.net 3.5 and c#.
I have a server-side div (runat=”server”) and , what I want is this that when I click on the link, div1 will collapse. I have to do this in JQuery.
I already achieve the target to use the following example. It collapse and expand the client side div.. now i want to do the same thing to the server-side div control
http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
What the problem? The only difference is that you need to use control’s ClientID value. In your case if div with jason id has runat=”server” attribute you may use:
animatedcollapse.addDiv('<%= jason.ClientID %>', 'fade=1,height=80px')