{"id":45,"date":"2024-07-21T11:26:50","date_gmt":"2024-07-21T11:26:50","guid":{"rendered":"https:\/\/api.jqueryui.com\/1.13\/?p=45"},"modified":"2024-07-21T11:26:50","modified_gmt":"2024-07-21T11:26:50","slug":"disableSelection","status":"publish","type":"post","link":"https:\/\/api.jqueryui.com\/1.13\/disableSelection\/","title":{"rendered":".disableSelection()"},"content":{"rendered":"<article id=\"disableSelection1\" class=\"entry method\"><h2 class=\"section-title\">\n<span class=\"name\">.disableSelection()<\/span><span class=\"returns\">Returns: <a href=\"http:\/\/api.jquery.com\/Types\/#jQuery\">jQuery<\/a><\/span>\n<\/h2>\n<div class=\"entry-wrapper\">\n<p class=\"desc\"><strong>Description: <\/strong>Disable selection of text content within the set of matched elements.<\/p>\n<ul class=\"signatures\"><li class=\"signature\">\n<h4 class=\"name\">\n<span class=\"version-details\">version added: 1.6, deprecated: 1.9<\/span><a id=\"disableSelection\" href=\"#disableSelection\"><span class=\"icon-link\"><\/span>.disableSelection()<\/a>\n<\/h4>\n<ul><li><div class=\"null-signature\">This method does not accept any arguments.<\/div><\/li><\/ul>\n<\/li><\/ul>\n<div class=\"longdesc\" id=\"entry-longdesc\">\n\t\t<p>Disabling text selection is bad. Don't use this.<\/p>\n\t<\/div>\n<\/div><\/article>","protected":false},"excerpt":{"rendered":"<p>Disable selection of text content within the set of matched elements.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,9],"tags":[],"class_list":["post-45","post","type-post","status-publish","format-standard","hentry","category-methods","category-ui-core"],"_links":{"self":[{"href":"https:\/\/api.jqueryui.com\/1.13\/wp-json\/wp\/v2\/posts\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/api.jqueryui.com\/1.13\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/api.jqueryui.com\/1.13\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/api.jqueryui.com\/1.13\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/api.jqueryui.com\/1.13\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":1,"href":"https:\/\/api.jqueryui.com\/1.13\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":46,"href":"https:\/\/api.jqueryui.com\/1.13\/wp-json\/wp\/v2\/posts\/45\/revisions\/46"}],"wp:attachment":[{"href":"https:\/\/api.jqueryui.com\/1.13\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/api.jqueryui.com\/1.13\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/api.jqueryui.com\/1.13\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}