{"id":145,"date":"2020-06-03T07:26:34","date_gmt":"2020-06-03T04:26:34","guid":{"rendered":"http:\/\/bahadirmeric.net\/bahadir\/?p=145"},"modified":"2020-06-03T07:34:56","modified_gmt":"2020-06-03T04:34:56","slug":"jquery-seciciler","status":"publish","type":"post","link":"http:\/\/bahadirmeric.net\/bahadir\/2020\/06\/03\/jquery-seciciler\/","title":{"rendered":"JQuery Se\u00e7iciler"},"content":{"rendered":"\n<p>JQuery taraf\u0131nda se\u00e7iciler dedi\u011fimizde obje, stil dosyalar\u0131 ve HTML tag\u2019lerinin se\u00e7ilmesinin sa\u011flanmas\u0131 anlam\u0131na gelir.&nbsp;<\/p>\n\n\n\n<p><strong>ID Bazl\u0131 Nesne Se\u00e7mek :<\/strong><\/p>\n\n\n\n<p>JQuery taraf\u0131nda HTML\u2019 de ID verilip bir nesneyi a\u015fa\u011f\u0131daki \u015fekilde se\u00e7ebilirsiniz;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;script src=&quot;http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.11.1\/jquery.min.js&quot;&gt;&lt;\/script&gt;\n&lt;script&gt;\n$(document).ready(function(){\n  $(&quot;button&quot;).click(function(){\n    $(&quot;#test&quot;).hide();\n  });\n});\n&lt;\/script&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n \n&lt;h2&gt;This is a heading&lt;\/h2&gt;\n&lt;p&gt;This is a paragraph.&lt;\/p&gt;\n&lt;p id=&quot;test&quot;&gt;This is another paragraph.&lt;\/p&gt;\n&lt;button&gt;Click me&lt;\/button&gt;\n \n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/pre><\/div>\n\n\n<p><strong>Stil Bazl\u0131 Nesne Se\u00e7mek :<\/strong><\/p>\n\n\n\n<p>JQuery ile belli stil tan\u0131mlamalar\u0131na g\u00f6re belli i\u015flemler yapt\u0131rmak i\u00e7in se\u00e7im yap\u0131labilir. \u00d6rnek olarak a\u015fa\u011f\u0131daki koda bak\u0131labilir;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;script src=&quot;http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.11.1\/jquery.min.js&quot;&gt;&lt;\/script&gt;\n&lt;script&gt;\n$(document).ready(function(){\n  $(&quot;button&quot;).click(function(){\n    $(&quot;.test&quot;).hide();\n  });\n});\n&lt;\/script&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n \n&lt;h2 class=&quot;test&quot;&gt;This is a heading&lt;\/h2&gt;\n&lt;p class=&quot;test&quot;&gt;This is a paragraph.&lt;\/p&gt;\n&lt;p&gt;This is another paragraph.&lt;\/p&gt;\n&lt;button&gt;Click me&lt;\/button&gt;\n \n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/pre><\/div>\n\n\n<p><strong>HTML Bazl\u0131 Nesne Se\u00e7mek :<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;script src=&quot;http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.11.1\/jquery.min.js&quot;&gt;&lt;\/script&gt;\n&lt;script&gt;\n$(document).ready(function(){\n  $(&quot;button&quot;).click(function(){\n    $(&quot;p&quot;).hide();\n  });\n});\n&lt;\/script&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n \n&lt;h2&gt;This is a heading&lt;\/h2&gt;\n&lt;p&gt;This is a paragraph.&lt;\/p&gt;\n&lt;p&gt;This is another paragraph.&lt;\/p&gt;\n&lt;button&gt;Click me&lt;\/button&gt;\n \n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/pre><\/div>\n\n\n<p><strong>this ile Nesne Se\u00e7imi :<\/strong><\/p>\n\n\n\n<p>JQuery ile this tan\u0131m\u0131 \u00e7a\u011fr\u0131ld\u0131\u011f\u0131 fonksiyona ait olan obje anlam\u0131na gelir ve o objenin ID yada NAME de\u011ferini yazmadan direkt ula\u015f\u0131m\u0131 sa\u011flar. A\u015fa\u011f\u0131daki \u00f6rnek baz al\u0131nabilir;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;script src=&quot;http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.11.1\/jquery.min.js&quot;&gt;&lt;\/script&gt;\n&lt;script&gt;\n$(document).ready(function(){\n  $(&quot;button&quot;).click(function(){\n    $(this).hide();\n  });\n});\n&lt;\/script&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n \n&lt;h2&gt;This is a heading&lt;\/h2&gt;\n&lt;p&gt;This is a paragraph.&lt;\/p&gt;\n&lt;p&gt;This is another paragraph.&lt;\/p&gt;\n&lt;button&gt;Click me&lt;\/button&gt;\n \n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/pre><\/div>\n\n\n<p><strong>NAME Bazl\u0131 Nesne Se\u00e7imi :<\/strong><\/p>\n\n\n\n<p>JQuery nesneleri ID bazl\u0131 se\u00e7im d\u0131\u015f\u0131nda ID\u2019lere verilen isim(name) bazl\u0131 da se\u00e7im yapabilir. Fakat bunu do\u011fru bir \u015fekilde ger\u00e7ekle\u015ftirebilmesi i\u00e7in nesnelerin tiplerinin belirtilmesine ihtiya\u00e7 duyar. A\u015fa\u011f\u0131daki \u00f6rne\u011fi bir inceleyelim;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;!doctype html&gt;\n&lt;html lang=&quot;en&quot;&gt;\n&lt;head&gt;\n  &lt;meta charset=&quot;utf-8&quot;&gt;\n  &lt;title&gt;attributeEndsWith demo&lt;\/title&gt;\n  &lt;script src=&quot;\/\/code.jquery.com\/jquery-1.10.2.js&quot;&gt;&lt;\/script&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n  \n&lt;input name=&quot;newsletter&quot;&gt;\n&lt;input name=&quot;milkman&quot;&gt;\n&lt;input name=&quot;jobletter&quot;&gt;\n  \n&lt;script&gt;\n$( &quot;input&#x5B;name='newsletter']&quot; ).val( &quot;a letter&quot; );\n&lt;\/script&gt;\n  \n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>JQuery taraf\u0131nda se\u00e7iciler dedi\u011fimizde obje, stil dosyalar\u0131 ve HTML tag\u2019lerinin se\u00e7ilmesinin sa\u011flanmas\u0131 anlam\u0131na gelir.&nbsp; ID Bazl\u0131 Nesne Se\u00e7mek : JQuery taraf\u0131nda HTML\u2019 de ID verilip bir nesneyi a\u015fa\u011f\u0131daki \u015fekilde se\u00e7ebilirsiniz; Stil Bazl\u0131 Nesne Se\u00e7mek : JQuery ile belli stil tan\u0131mlamalar\u0131na g\u00f6re belli i\u015flemler yapt\u0131rmak i\u00e7in se\u00e7im yap\u0131labilir. \u00d6rnek olarak a\u015fa\u011f\u0131daki&#8230; <a class=\"continue-reading-link\" href=\"http:\/\/bahadirmeric.net\/bahadir\/2020\/06\/03\/jquery-seciciler\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":13,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[7,4,15,6],"class_list":["post-145","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-jquery","tag-asp-net","tag-c","tag-jquery","tag-visual-studio"],"_links":{"self":[{"href":"http:\/\/bahadirmeric.net\/bahadir\/wp-json\/wp\/v2\/posts\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bahadirmeric.net\/bahadir\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bahadirmeric.net\/bahadir\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bahadirmeric.net\/bahadir\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/bahadirmeric.net\/bahadir\/wp-json\/wp\/v2\/comments?post=145"}],"version-history":[{"count":1,"href":"http:\/\/bahadirmeric.net\/bahadir\/wp-json\/wp\/v2\/posts\/145\/revisions"}],"predecessor-version":[{"id":146,"href":"http:\/\/bahadirmeric.net\/bahadir\/wp-json\/wp\/v2\/posts\/145\/revisions\/146"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/bahadirmeric.net\/bahadir\/wp-json\/wp\/v2\/media\/13"}],"wp:attachment":[{"href":"http:\/\/bahadirmeric.net\/bahadir\/wp-json\/wp\/v2\/media?parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bahadirmeric.net\/bahadir\/wp-json\/wp\/v2\/categories?post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bahadirmeric.net\/bahadir\/wp-json\/wp\/v2\/tags?post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}