Re: Trouble Modifying dsiplay style
Brady Kelly <[email protected]> Tue, 26 Feb 2008 20:50:06 +0200
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <[email protected]> |
> You should set the display to "block", not "inline".
> That is:
>
> document.getElementById('divSR').style.display = 'block';
>
> --
> Efran Cobisi
Thanks, but I tried block as well. I'm calling the show function from an
asp:button, and it was showing until the postback, which I never saw because
the debugger popped up in the way, an then on post back it reset the display
attribute. I added "return false;" to the client-side onclick event and
that seems to have cleared it up.
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com