<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Client Side Web Development</title><link>http://forums.asp.net/130.aspx</link><description>Client-side programming discussions, including CSS, DHTML, JScript/Javascript, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=18&amp;c=16" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: help on how to togle the visibility on/off of the legend of a &lt;div&gt;</title><link>http://forums.asp.net/thread/2759853.aspx</link><pubDate>Fri, 21 Nov 2008 10:03:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2759853</guid><dc:creator>sharpeffect</dc:creator><author>sharpeffect</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2759853.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2759853</wfw:commentRss><description>&lt;p&gt;Hi Define the div just like this.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;span class="tag"&gt;div&lt;/span&gt;&lt;span class="attr"&gt; id=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;temp&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; name=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;temp&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; style=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;visibility:visible&amp;quot;&lt;/span&gt;&amp;gt;
           Hello this is temporary text.
        &amp;lt;/&lt;span class="tag"&gt;div&lt;/span&gt;&amp;gt;&lt;/p&gt;&lt;p&gt;Now define the javascript in the head of the page just like this&amp;nbsp;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;script&lt;/span&gt;&lt;span class="attr"&gt; language=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;javascript&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; type=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;text/javascript&amp;quot;&lt;/span&gt;&amp;gt;
    function temp()
    {
       document.getElementById(&amp;#39;temp&amp;#39;).style.visibility=document.getElementById(&amp;#39;temp&amp;#39;).style.visibility==&amp;#39;hidden&amp;#39;?&amp;#39;visible&amp;#39;:&amp;#39;hidden&amp;#39;;
    }
&amp;lt;/&lt;span class="tag"&gt;script&lt;/span&gt;&amp;gt;&lt;/pre&gt;&amp;nbsp;now in the click event of the hyperlink show/hide the div it would something like this.&amp;nbsp;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;asp:HyperLink&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;HyperLink1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; onclick=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;temp();&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&amp;gt;HyperLink&amp;lt;/&lt;span class="tag"&gt;asp:HyperLink&lt;/span&gt;&amp;gt;&lt;/pre&gt;Hope this will work.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;</description></item><item><title>Re: help on how to togle the visibility on/off of the legend of a &lt;div&gt;</title><link>http://forums.asp.net/thread/2759622.aspx</link><pubDate>Fri, 21 Nov 2008 07:28:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2759622</guid><dc:creator>NHOQUE</dc:creator><author>NHOQUE</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2759622.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2759622</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;bcweed966:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;in fact this is how this renders:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;Panel&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Panel2&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;GroupingText&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;test&amp;quot;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;dfd&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;Panel&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;lt;div id=&amp;quot;Panel2&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;fieldset&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;legend&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;test&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/legend&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfd&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;lt;/fieldset&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Try it from here,&lt;/p&gt;
&lt;p&gt;&lt;a href="http://amar-desh.net/codersBlog/post/2008/11/21/How-to-remove-3clegend3e-tag-while-creating-3caspPanel3e-tag.aspx"&gt;http://amar-desh.net/codersBlog/post/2008/11/21/How-to-remove-3clegend3e-tag-while-creating-3caspPanel3e-tag.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;or , from here,&lt;/p&gt;
&lt;p&gt;&amp;lt;html xmlns=&amp;quot;&lt;a href="http://www.w3.org/1999/xhtml"&gt;http://www.w3.org/1999/xhtml&lt;/a&gt;&amp;quot; &amp;gt;&lt;br /&gt;&amp;lt;head runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Virtual Directory&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; function removeGroupText(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var pnl=document.getElementById(&amp;quot;Panel1&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var lgnd=pnl.getElementsByTagName(&amp;quot;legend&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (i=0; i&amp;lt;lgnd.length; i++){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lgnd[i].parentNode.removeChild(lgnd[i]);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Panel ID=&amp;quot;Panel1&amp;quot; runat=&amp;quot;server&amp;quot; Height=&amp;quot;50px&amp;quot; Width=&amp;quot;125px&amp;quot; GroupingText=&amp;quot;Test&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Label ID=&amp;quot;lbl1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Welcome to this site&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/asp:Panel&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=&amp;quot;button&amp;quot; value=&amp;quot;Remove&amp;quot; onclick=&amp;quot;removeGroupText();&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The code above works for IE as well as FireFox. I did not test it in other borwsers.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>Re: help on how to togle the visibility on/off of the legend of a &lt;div&gt;</title><link>http://forums.asp.net/thread/2759173.aspx</link><pubDate>Fri, 21 Nov 2008 02:20:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2759173</guid><dc:creator>budugu</dc:creator><author>budugu</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2759173.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2759173</wfw:commentRss><description>&lt;p&gt;Well, you can add &amp;quot;ID&amp;quot; to any tag, check this code..&amp;nbsp; 
&lt;blockquote&gt;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;div&lt;/span&gt;&lt;span class="attr"&gt; id=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Panel2&amp;quot;&lt;/span&gt;&amp;gt;
 &amp;lt;&lt;span class="tag"&gt;fieldset&lt;/span&gt;&amp;gt;
  &amp;lt;&lt;span class="tag"&gt;legend&lt;/span&gt;&lt;span class="attr"&gt; &lt;strong&gt;id=&lt;/strong&gt;&lt;/span&gt;&lt;span class="attrv"&gt;&lt;strong&gt;&amp;quot;test1&amp;quot;&lt;/strong&gt;&lt;/span&gt;&amp;gt;
  
  &amp;lt;/&lt;span class="tag"&gt;legend&lt;/span&gt;&amp;gt;     
        
 &amp;lt;/&lt;span class="tag"&gt;fieldset&lt;/span&gt;&amp;gt;
&amp;lt;/&lt;span class="tag"&gt;div&lt;/span&gt;&amp;gt;  &lt;/pre&gt;&lt;/blockquote&gt;&amp;nbsp;In JS access that control like this..&amp;nbsp; 
&lt;blockquote&gt;&lt;pre class="coloredcode"&gt;  function insertText()
    {
    test1.innerText =&amp;quot;Testing Legend ID awdasdas&amp;quot;;
    }&lt;/pre&gt;&lt;/blockquote&gt;&amp;nbsp;</description></item><item><title>Re: help on how to togle the visibility on/off of the legend of a &lt;div&gt;</title><link>http://forums.asp.net/thread/2759123.aspx</link><pubDate>Fri, 21 Nov 2008 01:30:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2759123</guid><dc:creator>bcweed966</dc:creator><author>bcweed966</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2759123.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2759123</wfw:commentRss><description>&lt;p&gt;in fact this is how this renders:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;Panel&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Panel2&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;GroupingText&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;test&amp;quot;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;dfd&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;Panel&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;lt;div id=&amp;quot;Panel2&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;fieldset&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;legend&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;test&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/legend&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfd&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;lt;/fieldset&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: help on how to togle the visibility on/off of the legend of a &lt;div&gt;</title><link>http://forums.asp.net/thread/2759107.aspx</link><pubDate>Fri, 21 Nov 2008 01:17:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2759107</guid><dc:creator>bcweed966</dc:creator><author>bcweed966</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2759107.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2759107</wfw:commentRss><description>&lt;p&gt;ok. But my legend.. if it is really a legend... is really just the text of the GroupingText property of a panel control.&lt;/p&gt;
&lt;p&gt;I dont declarativly put the legend on the page, it is redenred because I set the GroupingText property&lt;/p&gt;
&lt;p&gt;so then how do I refer to thet legend clientID? that is really the question I now realize&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: help on how to togle the visibility on/off of the legend of a &lt;div&gt;</title><link>http://forums.asp.net/thread/2759097.aspx</link><pubDate>Fri, 21 Nov 2008 01:12:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2759097</guid><dc:creator>budugu</dc:creator><author>budugu</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2759097.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2759097</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;bcweed966:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;this is the &amp;quot;client side web development&amp;quot; so obviously I am asking on how to do this with javascript on the client...&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;var e = document.getElementById(&amp;quot;Test1&amp;quot;);  //where Test1 is legend ID
e.value = &amp;quot;set Text here &amp;quot;; //set Text here..
&lt;/pre&gt;&amp;nbsp;</description></item><item><title>Re: help on how to togle the visibility on/off of the legend of a &lt;div&gt;</title><link>http://forums.asp.net/thread/2759079.aspx</link><pubDate>Fri, 21 Nov 2008 00:56:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2759079</guid><dc:creator>bcweed966</dc:creator><author>bcweed966</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2759079.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2759079</wfw:commentRss><description>&lt;p&gt;yo!&lt;/p&gt;
&lt;p&gt;this is the &amp;quot;client side web development&amp;quot; so obviously I am asking on how to do this with javascript on the client...&lt;/p&gt;
&lt;p&gt;also... on the server, the legend text is much easier to set with the &amp;quot;groupingText&amp;quot; property of the panel control&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;</description></item><item><title>Re: help on how to togle the visibility on/off of the legend of a &lt;div&gt;</title><link>http://forums.asp.net/thread/2759074.aspx</link><pubDate>Fri, 21 Nov 2008 00:50:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2759074</guid><dc:creator>budugu</dc:creator><author>budugu</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2759074.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2759074</wfw:commentRss><description>&lt;p&gt;Simple, just add runat=&amp;quot;server&amp;quot; to legend tag. check this code..&amp;nbsp;&lt;pre class="coloredcode"&gt;&amp;lt;&lt;span class="tag"&gt;legend&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Test1&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt; &amp;gt;&amp;lt;/&lt;span class="tag"&gt;legend&lt;/span&gt;&amp;gt;&lt;/pre&gt;&amp;nbsp; 
&lt;p&gt;In Code behind..&amp;nbsp;&lt;pre class="coloredcode"&gt;Test1.&lt;span class="kwd"&gt;value&lt;/span&gt; = &lt;span class="st"&gt;&amp;quot;&amp;quot;&lt;/span&gt;;
&lt;/pre&gt;&amp;nbsp;</description></item><item><title>help on how to togle the visibility on/off of the legend of a &lt;div&gt;</title><link>http://forums.asp.net/thread/2759067.aspx</link><pubDate>Fri, 21 Nov 2008 00:45:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2759067</guid><dc:creator>bcweed966</dc:creator><author>bcweed966</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2759067.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2759067</wfw:commentRss><description>&lt;p&gt;I have a div, it has some &amp;lt;legend&amp;gt; txt. How do I make it invisible thru javascript?&lt;/p&gt;
&lt;p&gt;and how do I change the legend text?&lt;/p&gt;
&lt;p&gt;thank you&lt;/p&gt;</description></item></channel></rss>