﻿
{"id":2571,"date":"2014-03-19T16:56:31","date_gmt":"2014-03-19T16:56:31","guid":{"rendered":"http:\/\/www.gencayyildiz.com\/blog\/?p=2571"},"modified":"2014-03-19T16:57:13","modified_gmt":"2014-03-19T16:57:13","slug":"jquery-when-done-kontrolu","status":"publish","type":"post","link":"https:\/\/www.gencayyildiz.com\/blog\/jquery-when-done-kontrolu\/","title":{"rendered":"JQuery &#8211; When Done Kontrol\u00fc"},"content":{"rendered":"<div id=\"fb-root\"><\/div>\n<p>A\u015fa\u011f\u0131da JQuery ile when done kontrol\u00fcn\u00fc kullanmaya bir \u00f6rnek g\u00f6sterilmektedir.<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;script type=&quot;text\/javascript&quot; src=&quot;js\/jquery-2.0.2.min.js&quot;&gt;&lt;\/script&gt;\r\n&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=utf-8&quot; \/&gt;\r\n&lt;script type=&quot;text\/javascript&quot;&gt;\r\n$.when({Adi : &quot;Gen\u00e7ay&quot;}, {SoyAdi : &quot;Y\u0131ld\u0131z&quot;}, {Yasi : 22}).done(\r\nfunction(adi,soyadi,yasi)\r\n{\r\n\talert(\r\n\t\t\t&quot;Ad\u0131    : &quot; + adi.Adi + &quot;\\n&quot; +\r\n\t\t\t&quot;Soyad\u0131 : &quot; + soyadi.SoyAdi + &quot;\\n&quot; +\r\n\t\t\t&quot;Ya\u015f\u0131   : &quot; + yasi.Yasi\r\n\t\t\t);\r\n\t}\r\n);\r\n&lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>Yukar\u0131daki JQuery kodlar\u0131n\u0131 incelersek e\u011fer, when blo\u011fu i\u00e7ine bir dizi yerle\u015ftiriyoruz.done blo\u011fu i\u00e7inde olu\u015fturulan fonksiyonun parametreleri s\u0131ras\u0131yla dizideki indexleri temsil etmektedir.G\u00f6rd\u00fc\u011f\u00fcn\u00fcz gibi bu kontrol sayesinde dizimizdeki elemanlara teker teker ula\u015f\u0131p i\u015flem yapm\u0131\u015f olduk.\u0130leride ki yaz\u0131lar\u0131mda bu kontrol\u00fc server tabanl\u0131 kullanaca\u011f\u0131m\u0131z \u00f6rnekler payla\u015faca\u011f\u0131m.<\/p>\n<p>Yukar\u0131daki kodlar\u0131n ekran \u00e7\u0131kt\u0131s\u0131 a\u015fa\u011f\u0131daki gibidir.<br \/>\n<a href=\"http:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2014\/03\/JQuery-when-done.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2014\/03\/JQuery-when-done-300x106.png\" alt=\"JQuery-when-done\" width=\"300\" height=\"106\" class=\"aligncenter size-medium wp-image-2573\" srcset=\"https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2014\/03\/JQuery-when-done-300x106.png 300w, https:\/\/www.gencayyildiz.com\/blog\/wp-content\/uploads\/2014\/03\/JQuery-when-done.png 340w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u0130yi \u00e7al\u0131\u015fmalar&#8230;<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>A\u015fa\u011f\u0131da JQuery ile when done kontrol\u00fcn\u00fc kullanmaya bir \u00f6rnek g\u00f6sterilmektedir. &lt;html&gt; &lt;head&gt; &lt;script type=&quot;text\/javascript&quot; src=&quot;js\/jquery-2.0.2.min.js&quot;&gt;&lt;\/script&gt; &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=utf-8&quot; \/&gt; &lt;script type=&quot;text\/javascript&quot;&gt; $.when({Adi : &quot;Gen\u00e7ay&quot;}, {SoyAdi : &quot;Y\u0131ld\u0131z&quot;}, {Yasi : 22}).done( function(adi,soyadi,yasi) { alert(&#46;&#46;&#46;<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[576,748,95],"class_list":["post-2571","post","type-post","status-publish","format-standard","hentry","category-jquery","tag-done","tag-jquery","tag-when"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/posts\/2571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/comments?post=2571"}],"version-history":[{"count":0,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/posts\/2571\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/media?parent=2571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/categories?post=2571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gencayyildiz.com\/blog\/wp-json\/wp\/v2\/tags?post=2571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}