html - How to change the default string into chinese in the form? -


lang=en_us.utf-8 in locale,i don't want change it.

<head> <head> <meta charset="utf-8"> </head> <form action="upload.php" method="post" enctype="multipart/form-data"> <input type="file" name="upimage"></br> <input type="submit" value="上传"> </form> 

it displayed following.
1.how change string browse... 浏览?
2.how change string no file selected. 请选择上传文件?

enter image description here

you can try like:

   <label for="files"  class="file_class"  name="upimage">浏览</label>    <input id="files" style="visibility:hidden;" type="file">    <input type="submit" value="上传"> 

then style label

 .file_class {    border: 1px solid black;    padding:5px;  } 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -