javascript - Create directory with JS -


this question has answer here:

how create folders js:

    var sfolderpath = 'images';     var fso = new activexobject('scripting.filesystemobject');     if (!fso.folderexists(sfolderpath)) {         fso.createfolder(retval);         return;         } 

i got error: uncaught referenceerror: activexobject not defined

i know "activexobject" work on ie, need other solution work on browsers..

only internet explorer supports activexobject. if trying in browser, won't supported.


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -