<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Zihni Kaya &#187; setTimeout</title>
	<atom:link href="http://www.zihni.net/tag/settimeout/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zihni.net</link>
	<description></description>
	<lastBuildDate>Wed, 16 Nov 2011 07:22:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>setTimeout() Metodu</title>
		<link>http://www.zihni.net/javascript/settimeout-metodu/</link>
		<comments>http://www.zihni.net/javascript/settimeout-metodu/#comments</comments>
		<pubDate>Sun, 08 Apr 2007 17:40:09 +0000</pubDate>
		<dc:creator>Zihni</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[setTimeout]]></category>

		<guid isPermaLink="false">http://www.zihni.net/?p=5</guid>
		<description><![CDATA[setTimeout(ifadeler, delaytime) delaytime parametresinde verilen süre kadar bekledikten sonra, “ifadeler” ile belirtilen işlemler yapılır. Aşağıdaki örnekte, başlat buttonuna tıklandığında metin kutusuna yazı 3 saniye sonra gelmektedir. 1 2 3 4 5 6 7 8 9 10 &#60;script type=&#34;text/javascript&#34;&#62; &#60;!-- function timeOut&#40;&#41;&#123; document.getElementById&#40;'myText'&#41;.value=''; setTimeout&#40;&#34;document.getElementById('myText').value='Üc saniyede geldim'&#34;,3000&#41; &#125; // --&#62; &#60;/script&#62; &#60;input id=&#34;”myText”&#34; name=&#34;”myText”&#34; size=&#34;”30″/&#34; type=&#34;”text”&#34; /&#62; [...]]]></description>
			<content:encoded><![CDATA[<p><strong>setTimeout(ifadeler, delaytime)</strong></p>
<p>delaytime parametresinde verilen süre kadar bekledikten sonra, “ifadeler” ile belirtilen işlemler yapılır.</p>
<p>Aşağıdaki örnekte, başlat buttonuna tıklandığında metin kutusuna yazı 3 saniye sonra gelmektedir.</p>
<p><script type="text/javascript"><!--
         function timeOut(){
         document.getElementById('myText').value='';
         setTimeout("document.getElementById('myText').value='Üc saniyede geldim'",3000)
       }
// --></script></p>
<input id="myText" name="myText" size="30" type="text" />
<input id="myButton" onclick="timeOut()" name="myButton" type="button" value="Başlat" />

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;!--</span>
<span style="color: #003366; font-weight: bold;">function</span> timeOut<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
         document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'myText'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span><span style="color: #339933;">=</span><span style="color: #3366CC;">''</span><span style="color: #339933;">;</span>
         setTimeout<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;document.getElementById('myText').value='Üc saniyede geldim'&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3000</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #006600; font-style: italic;">// --&gt;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span>
&lt;input id=&quot;”myText”&quot; name=&quot;”myText”&quot; size=&quot;”30″/&quot; type=&quot;”text”&quot; /&gt;
&lt;input id=&quot;”myButton”&quot; onclick=&quot;”timeOut()”&quot; name=&quot;”myButton”&quot; type=&quot;”button”&quot; value=&quot;”Baslat”&quot; /&gt;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.zihni.net/javascript/settimeout-metodu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

