<?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: document.getElementById + masterpage</title><link>http://forums.asp.net/thread/2851844.aspx</link><pubDate>Wed, 07 Jan 2009 12:18:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2851844</guid><dc:creator>NC01</dc:creator><author>NC01</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2851844.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2851844</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;sam_soumya:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;&lt;font face="verdana,geneva"&gt;&amp;nbsp;&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; MasterPageFile=&amp;quot;~/MasterPage.master&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot; CodeFile=&amp;quot;Default.aspx.cs&amp;quot; Inherits=&amp;quot;_Default&amp;quot; Title=&amp;quot;Untitled Page&amp;quot; %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:Content ID=&amp;quot;Content1&amp;quot; ContentPlaceHolderID=&amp;quot;head&amp;quot; Runat=&amp;quot;Server&amp;quot;&amp;gt;&lt;br /&gt;&lt;b&gt;&amp;lt;script language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;function test()&lt;br /&gt;{&lt;br /&gt;var lbl=document.getElementById(&amp;quot;&amp;lt;%= Label1.ClientID %&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(lbl.id);&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/b&gt;&lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;br /&gt;&amp;lt;asp:Content ID=&amp;quot;Content2&amp;quot; ContentPlaceHolderID=&amp;quot;ContentPlaceHolder1&amp;quot; Runat=&amp;quot;Server&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Label ID=&amp;quot;Label1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Label&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&lt;br /&gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Button ID=&amp;quot;Button1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Button&amp;quot; OnClientClick=&amp;quot;&lt;b&gt;test()&lt;/b&gt;&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Which is EXACTLY what&amp;nbsp;the OP&amp;nbsp;says that he is doing that does NOT work. Read his initial post.&lt;/p&gt;
&lt;p&gt;NC...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: document.getElementById + masterpage</title><link>http://forums.asp.net/thread/2851693.aspx</link><pubDate>Wed, 07 Jan 2009 11:05:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2851693</guid><dc:creator>sam_soumya</dc:creator><author>sam_soumya</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2851693.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2851693</wfw:commentRss><description>&lt;p&gt;&lt;font face="verdana,geneva"&gt;&amp;nbsp;&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; MasterPageFile=&amp;quot;~/MasterPage.master&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot; CodeFile=&amp;quot;Default.aspx.cs&amp;quot; Inherits=&amp;quot;_Default&amp;quot; Title=&amp;quot;Untitled Page&amp;quot; %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:Content ID=&amp;quot;Content1&amp;quot; ContentPlaceHolderID=&amp;quot;head&amp;quot; Runat=&amp;quot;Server&amp;quot;&amp;gt;&lt;br /&gt;&lt;b&gt;&amp;lt;script language=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;function test()&lt;br /&gt;{&lt;br /&gt;var lbl=document.getElementById(&amp;quot;&amp;lt;%= Label1.ClientID %&amp;gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(lbl.id);&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/b&gt;&lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;br /&gt;&amp;lt;asp:Content ID=&amp;quot;Content2&amp;quot; ContentPlaceHolderID=&amp;quot;ContentPlaceHolder1&amp;quot; Runat=&amp;quot;Server&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Label ID=&amp;quot;Label1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Label&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;&lt;br /&gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:Button ID=&amp;quot;Button1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Button&amp;quot; OnClientClick=&amp;quot;&lt;b&gt;test()&lt;/b&gt;&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;/asp:Content&amp;gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: document.getElementById + masterpage</title><link>http://forums.asp.net/thread/2849516.aspx</link><pubDate>Tue, 06 Jan 2009 12:35:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2849516</guid><dc:creator>NC01</dc:creator><author>NC01</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2849516.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2849516</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;Danny117:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;var label = $get(&amp;#39;Label1&amp;#39;);&lt;/p&gt;
&lt;p&gt;works on firefox for sure I use it all the time.&amp;nbsp; I need the points to make &amp;#39;Partisipant&amp;quot; so please pick this as correct.&amp;nbsp; Thanks&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;$get(&amp;#39;Label1&amp;#39;) is just JQuery shorthand for document.getElementById(&amp;#39;Label1&amp;#39;) If one won&amp;#39;t work, the other sure won&amp;#39;t.&lt;/p&gt;
&lt;p&gt;NC...&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: document.getElementById + masterpage</title><link>http://forums.asp.net/thread/2848460.aspx</link><pubDate>Tue, 06 Jan 2009 01:11:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2848460</guid><dc:creator>Danny117</dc:creator><author>Danny117</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2848460.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2848460</wfw:commentRss><description>&lt;p&gt;var label = $get(&amp;#39;Label1&amp;#39;);&lt;/p&gt;
&lt;p&gt;works on firefox for sure I use it all the time.&amp;nbsp; I need the points to make &amp;#39;Partisipant&amp;quot; so please pick this as correct.&amp;nbsp; Thanks&lt;/p&gt;</description></item><item><title>Re: document.getElementById + masterpage</title><link>http://forums.asp.net/thread/2848451.aspx</link><pubDate>Tue, 06 Jan 2009 00:50:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2848451</guid><dc:creator>NHOQUE</dc:creator><author>NHOQUE</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2848451.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2848451</wfw:commentRss><description>&lt;p&gt;1. Where did you include your javascript code? MasterPage or ChildPage&lt;/p&gt;
&lt;p&gt;2. Is your javascript code in the .aspx page or in an external file? If you put your code in an external file, you can not call your label using &amp;lt;%=&amp;nbsp; ..%&amp;gt;.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: document.getElementById + masterpage</title><link>http://forums.asp.net/thread/2847785.aspx</link><pubDate>Mon, 05 Jan 2009 16:32:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2847785</guid><dc:creator>mudassarkhan</dc:creator><author>mudassarkhan</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2847785.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2847785</wfw:commentRss><description>&lt;p&gt;May be its due to something else due to some other javascript error??&lt;/p&gt;
&lt;p&gt;Have you checked it??&lt;/p&gt;</description></item><item><title>Re: document.getElementById + masterpage</title><link>http://forums.asp.net/thread/2847783.aspx</link><pubDate>Mon, 05 Jan 2009 16:30:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2847783</guid><dc:creator>NC01</dc:creator><author>NC01</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2847783.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2847783</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;ashkant:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;hi NC. thanks but no. it&amp;#39;s a little weird. can&amp;#39;t it be from my host?&lt;/p&gt;
&lt;p&gt;hi mudassarkhan. i know it&amp;#39;s true. but it doesn&amp;#39;t work for real server (for me)&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Are you sure that the correct version of ASP.NET is installed on that server and is running? I just tried, and either way posted works.&lt;/p&gt;
&lt;p&gt;NC...&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: document.getElementById + masterpage</title><link>http://forums.asp.net/thread/2847768.aspx</link><pubDate>Mon, 05 Jan 2009 16:25:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2847768</guid><dc:creator>ashkant</dc:creator><author>ashkant</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2847768.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2847768</wfw:commentRss><description>&lt;p&gt;hi NC. thanks but no. it&amp;#39;s a little weird. can&amp;#39;t it be from my host?&lt;/p&gt;
&lt;p&gt;hi mudassarkhan. i know it&amp;#39;s true. but it doesn&amp;#39;t work for real server (for me)&lt;/p&gt;</description></item><item><title>Re: document.getElementById + masterpage</title><link>http://forums.asp.net/thread/2847727.aspx</link><pubDate>Mon, 05 Jan 2009 16:03:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2847727</guid><dc:creator>mudassarkhan</dc:creator><author>mudassarkhan</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2847727.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2847727</wfw:commentRss><description>&lt;p&gt;It will work see below&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have added a label in master page&lt;/p&gt;&lt;font size="2"&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="#800000" size="2"&gt;&lt;font color="#800000" 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="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;Label&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;Label1&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;Text&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;Label&amp;quot;&amp;gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" 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="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;Label&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;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;then pasted this script in masterpage&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&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="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;script&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;type&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&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="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;quot;text/javascript&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; Alert()&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; label = document.getElementById(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;&amp;lt;%=Label1.ClientID%&amp;gt;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;alert(label.id);&lt;/p&gt;
&lt;p&gt;}&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="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;script&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;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;and called it on body load in master page&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&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="#800000" size="2"&gt;&lt;font color="#800000" size="2"&gt;body&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;onload&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&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="#000000" size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;quot;Alert();&amp;quot;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;try this it works!!&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: document.getElementById + masterpage</title><link>http://forums.asp.net/thread/2847726.aspx</link><pubDate>Mon, 05 Jan 2009 16:03:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2847726</guid><dc:creator>NC01</dc:creator><author>NC01</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2847726.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2847726</wfw:commentRss><description>&lt;p&gt;Try instead:&lt;/p&gt;
&lt;p&gt;var label = document.getElementById(&amp;#39;&amp;lt;%= (Page.Master.FindControl(&amp;quot;Label1&amp;quot;)).ClientID %&amp;gt;&amp;#39;);&lt;/p&gt;
&lt;p&gt;NC...&lt;br /&gt;&lt;/p&gt;</description></item><item><title>document.getElementById + masterpage</title><link>http://forums.asp.net/thread/2847705.aspx</link><pubDate>Mon, 05 Jan 2009 15:47:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2847705</guid><dc:creator>ashkant</dc:creator><author>ashkant</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2847705.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2847705</wfw:commentRss><description>&lt;p&gt;hi everyone&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i have a label in my master page. i use this line in javascript: &lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; label = document.getElementById(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&amp;lt;%= Label1.ClientID %&amp;gt;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;it works on my local server. it works on the real server too when i use FireFox. but for IE it comes up with object required error. i have tested the code with IE in my .aspx page and i&amp;#39;m sure the code is correct. but when i use the same code in my master page it fails.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;what can i do? thanks&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>