2013年4月29日 - [Javascript筆記]擷取目前網頁檔名. Code: var url = window.location.pathname; var filename = url.substring(url.lastIndexOf('/')+1); alert(filename);.
blog.ccnrz.info