Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
I need to clear all the content/files which are uploaded or saved when the javascript code is executed, so when the same code is executed again it should clear all the previous contents/files.
need all the actions to be implemented in javascript.
Any solutions?
Regards,
Sanket Phawde
Solved! Go to Solution.
Hi,
Assuming 'clear' means delete, use execCommand() with shell code, 'rm' for Linux, 'del' for Windows.
Thanks,
-Jon
View solution in original post
Views
Likes
Replies