Re: How to get <DIV> in code behind page

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Kevin Spencer (kevin_at_takempis.com)
Date: 02/05/04


Date: Thu, 5 Feb 2004 14:32:56 -0500

Try using a Panel Control. It renders a div.

-- 
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Robert" <anonymous@discussions.microsoft.com> wrote in message
news:adda01c3ec1b$4eabcd20$a001280a@phx.gbl...
> In the page behind code during the Page_Load event, how
> can I get/set the attributes of a <DIV> tag using
> VBScript?
>
> For example, with the following <div> tag, how do I get
> to this object and change the style attribute to DISPLAY:
> block?
>
> <div id="divTopicHeading2" style="DISPLAY: none">


Relevant Pages

  • Re: node.innerHTML = ... not working in IE
    ... > any indication of how the javascript is interacting with the HTML. ... >> place the suggest_box div node right next to the textbox so ... > opening P tag encountered within a P element will imply that P element's ...
    (comp.lang.javascript)
  • Re: node.innerHTML = ... not working in IE
    ... > place the suggest_box div node right next to the textbox so ... So why not set the inner HTML before you insert the node (or use W3C DOM ... > thrown on line 10 in CODE SAMPLE 1): ... P element also has an optional closing tag, which may be implied by the ...
    (comp.lang.javascript)
  • contenteditable div and dataTransfer.getData available formats?
    ... I have a "<DIV" tag with contenteditable turned on. ... an area that users can either paste or drag/drop text into. ... This will then cause my hidden field ...
    (comp.lang.javascript)
  • Re: [Full-Disclosure] A Popup! In Mozilla!
    ... This <div> tag allows a 'chromeless window' to appear ... Subject: Full-Disclosure] A Popup! ...
    (Full-Disclosure)
  • Re: active-x controls with runat="server"
    ... >>> tag as a Server object. ... If I take out the runat, can I reference it via the <div ... >>> Create your own control and you're done. ... I took out the object tag, leaving just the div tag, and have added this ...
    (microsoft.public.dotnet.framework.aspnet)