Trouble Modifying dsiplay style

Brady Kelly <[email protected]> Tue, 26 Feb 2008 20:01:16 +0200
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
I'm trying to get a DIV to display at will, as a sort of dialog, but I'm
stuck on setting the display as follows. Please could someone suggest why
this isn't working:





function showSearchAndReplace()

{

var dSr = document.getElementById("divSR");

dSr.style.display="inline";

debugger;

return true;

}





My DIV is marked up as:



div id="divSR" style="display: none;"


===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com