{"id":5024,"date":"2017-07-28T11:15:01","date_gmt":"2017-07-28T02:15:01","guid":{"rendered":"http:\/\/auctionpro.co.kr\/?p=5024"},"modified":"2020-06-02T09:35:40","modified_gmt":"2020-06-02T00:35:40","slug":"javascript-textarea-%ea%b8%80%ec%9e%90-%ec%a0%9c%ed%95%9c","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=5024","title":{"rendered":"[javascript] textarea \uae00\uc790 \uc81c\ud55c"},"content":{"rendered":"<p>textarea \uae00\uc790 \uc81c\ud55c \uc6d0\ubcf8\uc18c\uc2a4 \ub2e4\uc6b4\ub85c\ub4dc : \u00a0<a href=\"https:\/\/auctionpro.co.kr\/wp-content\/uploads\/2017\/07\/textarea-maxlength.zip\">textarea-maxlength<\/a><\/p>\n<p>&nbsp;<\/p>\n<form>\n<h2>Example 1 &#8211; (This is the default without any config)<\/h2>\n<p><textarea id=\"myComment\" style=\"margin-top: 0px; margin-bottom: 0px; height: 47px;\" cols=\"50\" maxlength=\"10\" name=\"myComment\">dfdsfsd<\/textarea><\/p>\n<div id=\"myComment-maxlength-status\"><\/div>\n<p><b>Code used<\/b><\/p>\n<p>There is no javascript configuration used in this example. By setting a maxlength property for the textarea, example:<\/p>\n<pre> <textarea name=\"myComment\" id=\"myComment\" maxLength=\"10\" cols=\"50 rows=\"3\">\r\n<\/pre>\n<p>and by including the dg-textarea-maxlength-autoload.js file,<\/p>\n<pre><script type=\"text\/javascript\" src=\"js\/dg-textarea-maxlength-autoload.js\"><\/script>\r\n<\/pre>\n<p>you will get a default config for all textareas where the maxlength attribute is set<\/p>\n<h2>Example 2 : Manual config<\/h2>\n<p><textarea id=\"poem\" cols=\"30\" name=\"poem\" rows=\"15\">dfsdfsdf<\/textarea><\/p>\n<div id=\"poem-maxlength-status\">56 of maximum 255 characters<\/div>\n<p><b>Code used:<\/b><\/p>\n<pre>var maxLength = new DG.TextareaMaxlength( {\r\n\tel : 'poem',\r\n\tstatusEl : 'poem-maxlength-status',\r\n\tmaxLength : 255,\r\n\tstatusText : '{0} of maximum {1} characters'\r\n\r\n})\r\n<\/pre>\n<p><script type=\"text\/javascript\">\nvar maxLength = new DG.TextareaMaxlength( {\n\tel : 'poem',\n\tstatusEl : 'poem-maxlength-status',\n\tmaxLength : 255,\n\tstatusText : '{0} of maximum {1} characters'<\/p>\n<p>})\n<\/script><\/p>\n<\/form>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>textarea \uae00\uc790 \uc81c\ud55c \uc6d0\ubcf8\uc18c\uc2a4 \ub2e4\uc6b4\ub85c\ub4dc : \u00a0textarea-maxlength &nbsp; Example 1 &#8211; (This is the default without any config) dfdsfsd Code used There is no javascript <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=5024\" title=\"[javascript] textarea \uae00\uc790 \uc81c\ud55c\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[32],"tags":[],"class_list":["post-5024","post","type-post","status-publish","format-standard","hentry","category-javascript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[javascript] textarea \uae00\uc790 \uc81c\ud55c - AuctionPro<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.auctionpro.co.kr\/?p=5024\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[javascript] textarea \uae00\uc790 \uc81c\ud55c - AuctionPro\" \/>\n<meta property=\"og:description\" content=\"textarea \uae00\uc790 \uc81c\ud55c \uc6d0\ubcf8\uc18c\uc2a4 \ub2e4\uc6b4\ub85c\ub4dc : \u00a0textarea-maxlength &nbsp; Example 1 &#8211; (This is the default without any config) dfdsfsd Code used There is no javascript [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.auctionpro.co.kr\/?p=5024\" \/>\n<meta property=\"og:site_name\" content=\"AuctionPro\" \/>\n<meta property=\"article:published_time\" content=\"2017-07-28T02:15:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-02T00:35:40+00:00\" \/>\n<meta name=\"author\" content=\"golgol\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"golgol\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=5024#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=5024\"},\"author\":{\"name\":\"golgol\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\"},\"headline\":\"[javascript] textarea \uae00\uc790 \uc81c\ud55c\",\"datePublished\":\"2017-07-28T02:15:01+00:00\",\"dateModified\":\"2020-06-02T00:35:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=5024\"},\"wordCount\":66,\"commentCount\":0,\"articleSection\":[\"[Dev]Javascript\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=5024#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=5024\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=5024\",\"name\":\"[javascript] textarea \uae00\uc790 \uc81c\ud55c - AuctionPro\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#website\"},\"datePublished\":\"2017-07-28T02:15:01+00:00\",\"dateModified\":\"2020-06-02T00:35:40+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=5024#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=5024\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?p=5024#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[javascript] textarea \uae00\uc790 \uc81c\ud55c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#website\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/\",\"name\":\"AuctionPro\",\"description\":\"\uc625\uc158\ud504\ub85c\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/#\\\/schema\\\/person\\\/d3dbae599b06cd55f5b14a3e2116f7a2\",\"name\":\"golgol\",\"url\":\"https:\\\/\\\/www.auctionpro.co.kr\\\/?author=6\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[javascript] textarea \uae00\uc790 \uc81c\ud55c - AuctionPro","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.auctionpro.co.kr\/?p=5024","og_locale":"ko_KR","og_type":"article","og_title":"[javascript] textarea \uae00\uc790 \uc81c\ud55c - AuctionPro","og_description":"textarea \uae00\uc790 \uc81c\ud55c \uc6d0\ubcf8\uc18c\uc2a4 \ub2e4\uc6b4\ub85c\ub4dc : \u00a0textarea-maxlength &nbsp; Example 1 &#8211; (This is the default without any config) dfdsfsd Code used There is no javascript [...]","og_url":"https:\/\/www.auctionpro.co.kr\/?p=5024","og_site_name":"AuctionPro","article_published_time":"2017-07-28T02:15:01+00:00","article_modified_time":"2020-06-02T00:35:40+00:00","author":"golgol","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"golgol"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.auctionpro.co.kr\/?p=5024#article","isPartOf":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=5024"},"author":{"name":"golgol","@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2"},"headline":"[javascript] textarea \uae00\uc790 \uc81c\ud55c","datePublished":"2017-07-28T02:15:01+00:00","dateModified":"2020-06-02T00:35:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=5024"},"wordCount":66,"commentCount":0,"articleSection":["[Dev]Javascript"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.auctionpro.co.kr\/?p=5024#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.auctionpro.co.kr\/?p=5024","url":"https:\/\/www.auctionpro.co.kr\/?p=5024","name":"[javascript] textarea \uae00\uc790 \uc81c\ud55c - AuctionPro","isPartOf":{"@id":"https:\/\/www.auctionpro.co.kr\/#website"},"datePublished":"2017-07-28T02:15:01+00:00","dateModified":"2020-06-02T00:35:40+00:00","author":{"@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2"},"breadcrumb":{"@id":"https:\/\/www.auctionpro.co.kr\/?p=5024#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.auctionpro.co.kr\/?p=5024"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.auctionpro.co.kr\/?p=5024#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/www.auctionpro.co.kr\/"},{"@type":"ListItem","position":2,"name":"[javascript] textarea \uae00\uc790 \uc81c\ud55c"}]},{"@type":"WebSite","@id":"https:\/\/www.auctionpro.co.kr\/#website","url":"https:\/\/www.auctionpro.co.kr\/","name":"AuctionPro","description":"\uc625\uc158\ud504\ub85c","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.auctionpro.co.kr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/www.auctionpro.co.kr\/#\/schema\/person\/d3dbae599b06cd55f5b14a3e2116f7a2","name":"golgol","url":"https:\/\/www.auctionpro.co.kr\/?author=6"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/5024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5024"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/5024\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}