function setPlaceholder(e) { var placeholder = $(this).attr('placeholder'); if ($(this).val().length == 0) { $(this).css("color", "#b2b2b2").val(placeholder); } $(this).focus(function (e) { if ($(this).val() == placeholder) { $(this).css("color", "#666").val(""); } }); $(this).blur(function (e) { if ($(this).val().length == 0) { $(this).css("color", "#b2b2b2").val(placeholder); } }); } if (Is_LTE_IE9) { $('input[placeholder]').each(setPlaceholder); $('textarea[placeholder]').each(setPlaceholder); }
Windows 2008 的 SMTP 寄信時若遇到 "Helo command rejected: need fully-qualified hostname" ,可做以下的修改。
The fix is easy: