<?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: click button automatically using js.</title><link>http://forums.asp.net/thread/2362143.aspx</link><pubDate>Fri, 16 May 2008 11:49:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2362143</guid><dc:creator>lallouna85</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2362143.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2362143</wfw:commentRss><description>&lt;p&gt;hi ams16, well instead of having a timer and dicrease it to zero you can in javascript&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;setTimeout(myfunction,1000)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;function myfunction()&lt;/p&gt;&lt;p&gt;&amp;nbsp;{&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var myButton = document.getElementById(&amp;#39;&amp;lt;%= button1.ClientID %&amp;gt;&amp;#39;);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(myButton != null)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myButton.click();&lt;br /&gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;}&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;this will call the function after 1000 millisecond&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;hope it helped&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: click button automatically using js.</title><link>http://forums.asp.net/thread/2351995.aspx</link><pubDate>Mon, 12 May 2008 12:12:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2351995</guid><dc:creator>Suprotim Agarwal</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2351995.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2351995</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can call the button click programatically&lt;/p&gt;
&lt;p&gt;// If timer = 0&lt;/p&gt;
&lt;p&gt;Page.ClientScript.RegisterStartupScript(this.GetType(),&amp;quot;click&amp;quot;,&amp;quot;&amp;lt;script language=javascript&amp;gt;document.getElementById(&amp;#39;&amp;quot;+Button1.ClientID+&amp;quot;&amp;#39;).click();&amp;lt;/script&amp;gt;&amp;quot;);&lt;/p&gt;
&lt;p&gt;HTH,&lt;br /&gt;Suprotim Agarwal&lt;/p&gt;</description></item><item><title>click button automatically using js.</title><link>http://forums.asp.net/thread/2351713.aspx</link><pubDate>Mon, 12 May 2008 09:59:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2351713</guid><dc:creator>ams16</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2351713.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=2351713</wfw:commentRss><description>&lt;p&gt;I am havin a button and a timer&amp;nbsp;in my design part.i need to click tat btn&amp;nbsp;automatically once the time reaches 0 seconds.&lt;/p&gt;
&lt;p&gt;is tat possible.if so how?&lt;/p&gt;</description></item></channel></rss>