{"id":6874,"date":"2025-01-05T10:55:12","date_gmt":"2025-01-05T01:55:12","guid":{"rendered":"https:\/\/taitan916.info\/blog\/?p=6874"},"modified":"2024-12-27T18:08:47","modified_gmt":"2024-12-27T09:08:47","slug":"post-6874","status":"publish","type":"post","link":"https:\/\/taitan916.info\/blog\/archives\/6874","title":{"rendered":"\u30bb\u30ec\u30af\u30c8\u30e1\u30cb\u30e5\u30fc(\u30d7\u30eb\u30c0\u30a6\u30f3)\u3092display:none;\u6307\u5b9a\u3057\u3066\u3082iPhone\u306e\u307f\u975e\u8868\u793a\u306b\u306a\u3089\u306a\u3044\u554f\u984c\u306e\u5bfe\u5fdc\u65b9\u6cd5"},"content":{"rendered":"<p>\u30bb\u30ec\u30af\u30c8\u30e1\u30cb\u30e5\u30fc(\u30d7\u30eb\u30c0\u30a6\u30f3)\u306b\u5bfe\u3057\u3066display:none;\u6307\u5b9a\u3057\u305f\u308ajQuery\u3067hide()\u6307\u5b9a\u3057\u3066\u3082iPhone\u306e\u307f\u975e\u8868\u793a\u306b\u306a\u3089\u306a\u3044\u3068\u3044\u3046\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u3002\u4ee5\u4e0b\u306b\u5bfe\u5fdc\u65b9\u6cd5\u3092\u30e1\u30e2\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u5bfe\u5fdc\u65b9\u6cd5<\/h2>\n<h3>HTML&amp;CSS\u3067\u5bfe\u5fdc<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;style&gt;\r\n.hide{\r\n    display:none;\r\n}\r\n&lt;\/style&gt;\r\n&lt;select&gt;\r\n    &lt;span class=\"hide\"&gt;\r\n        &lt;option&gt;\u975e\u8868\u793a\u306b\u3057\u305f\u3044\u9805\u76ee&lt;\/option&gt;\r\n    &lt;\/span&gt;\r\n&lt;\/select&gt;<\/pre>\n<h3>jQuery\u3067\u5bfe\u5fdc<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$(`\u975e\u8868\u793a\u306b\u3057\u305f\u3044\u9078\u629e\u80a2\u306e\u30bb\u30ec\u30af\u30bf`).wrap(`&lt;span style=\"display:none;\"&gt;&lt;\/span&gt;`);<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u53c2\u8003\u30b5\u30a4\u30c8<\/h2>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/36066953\/css-hide-options-from-select-menu-on-iphone-safari\" target=\"_blank\" rel=\"noopener\">https:\/\/stackoverflow.com\/questions\/36066953\/css-hide-options-from-select-menu-on-iphone-safari<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30bb\u30ec\u30af\u30c8\u30e1\u30cb\u30e5\u30fc(\u30d7\u30eb\u30c0\u30a6\u30f3)\u306b\u5bfe\u3057\u3066display:none;\u6307\u5b9a\u3057\u305f\u308ajQu ... <\/p>\n","protected":false},"author":1,"featured_media":1070,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3,4,10],"tags":[],"class_list":["post-6874","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-jquery","category-javascript","category-css"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/6874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/comments?post=6874"}],"version-history":[{"count":1,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/6874\/revisions"}],"predecessor-version":[{"id":6875,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/6874\/revisions\/6875"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media\/1070"}],"wp:attachment":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media?parent=6874"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/categories?post=6874"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/tags?post=6874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}