James Fishwick
Menu
Some Recent Works
About
Blog
Software
Jetpack Easy Playlists
One JW Player Wrapper To Rule Them All
Automagical HTML Entites
8bit Standard URL Encoder
Chronology Exercises
Say Thanks
Web developer based in Charlottesvile, VA.
Home
»
getting the filename in JavaScript
getting the filename in JavaScript
February 27, 2013
· by
admin
· in
Code Snippet
,
Javascript
weeee, nice little one liner:
var filename = document.URL.replace(/^.*[\\\/]/, '');
Share this:
Email
LinkedIn
Facebook
Twitter
Cancel Reply
←
WordPress Media Library pre-processing with phpThumb
Move all x files recursively to a specific directory
→
Twitter Updates
You've given me too much to feel
#daftpunk
#ram
#ilistentotherobots
instagram.com/p/Zqa7wwI1yT/
4 hours ago
RT @
20tauri
: Love the nod to @
MargaretAtwood
on @
theknifenews
's new album; Track 6 = "Crake"; Track 10 = "Oryx"
1 day ago
RT @
PeteRock
: en:
youtu.be/I7xoAN7AdWw
via @
youtube
THROWBACK OF THE DAY LOL! BEFORE ONE FOR ALL LP AND BEFORE ALL SOULDED OUT EP & MECCA…
1 day ago
RT @
Luv_CraftBeer
: People who drink light 'beer' don't like the taste of beer; they just like to pee alot -Capital Brewery, Middleton, WI
1 day ago
Doesn't follow that the best bands are the ones that never break up. Why then suppose that the best lives are the ones that go on forever?
1 day ago
And I Was Alive (With a Shard of Glass in the Gut): A Week with Christian Wiman:
mbird.com/2013/05/and-i-…
2 days ago
Follow @jfishwick
Flair
Boosterism
Elsewhere
LinkedIn
Twitter
LastFM
RSS
Send to Email Address
Your Name
Your Email Address
Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.