How to get the contents of the directory from local PC in javascript/jQuery? For example from C:\\Images
C:\\Images
You could write a script using a technology like php, ruby, java which will list all files and then send this information via ajax to Your browser.
But You can't do this only via javascript because of security restrictions.