IE9 브라우져에서는 placeholder가 보이지 않는다
그래서 브라우져 체크를 한다음 placeholder값을 value에 넣어주는것이다
-----------------------------------------------------------------------------
$(document).ready(function(){
$.each($.browser,function(i,val) {
if ($.browser.msie) {
if ($.browser.version == 9.0){
$("input").each(function(){
var test = $(this).attr("placeholder");
$(this).attr("value",test);
$(this).focus(function(){
$(this).attr("value","");
});
});
}
}
});
});
-----------------------------------------------------------------------------
<input type="text" placeholder="입력해봐1" />
<input type="text" placeholder="입력해봐2" />
<input type="text" placeholder="입력해봐3" />
<input type="text" placeholder="입력해봐4" />