Results 1 to 1 of 1

Thread: change uploadfile button

  1. #1
    Ext User
    Join Date
    Jul 2009
    Vote Rating

    Smile change uploadfile button

    <input name="screenshots1" type="file" value="..." >

    <input type="file" name="screenshots3" style="display: none">
    <input type="text" name="txtFakeText" readonly="true">
    <input type="button" onclick="HandleFileButtonClick();" value="Browse">

    function HandleFileButtonClick() {;
    document.adminForm.txtFakeText.value = document.adminForm.screenshots3.value;

    Last edited by albaba1903; 20 Jan 2010 at 8:18 PM. Reason: I just want to change the button of the uploadfile; The code of following is do use under IE, but don't use under firefox; Ca

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts