Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <input class="input" type="text" value=""/>
- <textarea class="textarea" rows="3" cols="10">700</textarea>
- var $textarea = $(".textarea");
- $(document).on('keyup','.input', function(){
- $textarea.text($(this).val());
- });
Add Comment
Please, Sign In to add comment