fiddle 썸네일형 리스트형 [Web] .NET Fiddle: Simple, online .NET code testing .NET Fiddle: Simple, online .NET code testing .NET Fiddle simplifies the viewing and testing of .NET code online, without having to open up Visual Studio. It’s based on JSFiddle and includes tools for collaboration. Homepage: http://dotnetfiddle.net/ Twitter: https://twitter.com/dotnetfiddle 더보기 placeholder 에서 줄내림(NewLine) 사용하기 http://jsfiddle.net/jasongennaro/pdXRx/8/ fiddle , jsfiddle 페이지 로드시 해당 영역에 텍스트를 입력하고, 글자색을 회색으로 변경. 해당 영역에 포커스가 오면 글자 삭제. 해당 영역 blur시 입력된 글자가 없으면 다시 placeholer에 넣을 글자 입력. $('textarea').attr('value', 'This is a line \nthis should'); $('textarea').focus(function(){ $(this).attr('value', ''); }); $('textarea').blur(function(){ if($(this).val() ==''){ $(this).attr('value', 'This is a line \nthis'); .. 더보기 이전 1 다음