Is there a way that I can get the last value (based on the \'\\\' symbol) from a full path?
Example:
C:\\Documents and Settings\\img\\recycled log.jpg<
var filename = fullPath.replace(/^.*[\\\/]/, '')
This will handle both \ OR / in paths