I have a form that is uploading a file but I need to replace the & symbol before the file is uploaded. Is this possible with javascript? I can`t use server side script as the file upload script is an external one so before the form goes off I need to check the file name for any any & symbols and replace with the word and
so
me & my friend.doc becomes
me and my friend.doc
I am using enctype=multipart/form-data in my form for a file if that is important?
Thanks
<form method=post enctype=multipart/form-data>
File to upload : <input type=file name=uploadfile>
<br /><br />
<input type="submit" value="Upload the file >>">
so
me & my friend.doc becomes
me and my friend.doc
I am using enctype=multipart/form-data in my form for a file if that is important?
Thanks
<form method=post enctype=multipart/form-data>
File to upload : <input type=file name=uploadfile>
<br /><br />
<input type="submit" value="Upload the file >>">