{"id":79,"date":"2011-03-25T22:21:23","date_gmt":"2011-03-25T19:21:23","guid":{"rendered":"http:\/\/meekconsulting.com\/?p=79"},"modified":"2011-03-25T22:25:13","modified_gmt":"2011-03-25T19:25:13","slug":"making-textarea-boxes-expand","status":"publish","type":"post","link":"https:\/\/meekconsulting.com\/?p=79","title":{"rendered":"Making textarea boxes expand on entry"},"content":{"rendered":"<p>If you have ever worked with web forms you know that editing a large amount of text can be painful when you can only see a few lines of text at a time.<\/p>\n<p>Firefox 4 has a nifty feature that gives you draggable resize icon on the bottom of all textarea boxes.  This is nice, but rather than have to resize a field every time, I like this trick.  Just by adding the onclick and onblur tags to the textarea box as shown below you can make the text box <strong>EXPAND <\/strong>when you click into it to make it easier to edit.<\/p>\n<p>Adjust the rows as you see fit.<\/p>\n<blockquote><p>\n<textarea onclick=\u201dthis.rows = 35;\u201d cols=\u201d77\u2033 rows=\u201d6\u2033 name=\u201dstory_txt\u201d><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>If you have ever worked with web forms you know that editing a large amount of text can be painful when you can only see a few lines of text at a time. Firefox 4 has a nifty feature that &hellip; <a href=\"https:\/\/meekconsulting.com\/?p=79\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[4,6,5],"_links":{"self":[{"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/posts\/79"}],"collection":[{"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":5,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":82,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions\/82"}],"wp:attachment":[{"href":"https:\/\/meekconsulting.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}