Home  >  Forum  >  JavaScript
Post New Query

new div when text became overflow from div



Asked on November 12, 2013
How i can create a new div when text became overflow from div ?



Replied on December 11, 2013
$(document).ready(function(e) {
      $("#textAreaVal").blur(function () {
      var valueText = $(this).val();
      $("#Text").text(valueText);
    }).blur();
});
<form>
<textarea id="textAreaVal"></textarea>
</form>
<div id="Text"></div>


Write Answer




©2019 concretepage.com | Privacy Policy | Contact Us