使用JavaScript語法取得檔案副檔名. var filename = "pattyshih.txt";. var extIndex = filename.lastIndexOf('.');. if (extIndex !
pattyshih66.pixnet.net