This is my HTML form
<!DOCTYPE html>
<html>
<body>
<form>
<input type="file" name="pic">
<input type="submit">
</form>
</body>
</html>
It displays a simple file picker.
As soon as the "choosing the file" is completed I would like to rename the name of the file selected.
Is it possible to do this in jQuery ?
For example, this is my UI initially
I choose a file "Screenshot_1.png"
then it looks like
As soon as this action is done I want the file name to be renamed as "XYZ_Screenshot_1.png"
Is it possible to do this in jQuery ?