原创 js獲取select選中的option的text

javascript var item = document.getElementById(""); var text = item.options[item.selectedIndex].text; jQuery var text

原创 JS漢字轉拼音

/* --- description: Pinyin, to get chinese pinyin from chinese. license: MIT-style authors: Bill Lue requires: c

原创 當JSTL的標籤不起作用

當<fmt:formatDate/>不起作用時,可以在其前面加上<fmt:setLocale/> <fmt:setLocale value="zh_CN" /> <fmt:formatDate value="<%=new Date()%