Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorsandeepg
    • CommentTimeOct 19th 2007
     
    Hi friends,
    Following is my problem definition:
    I have an inut element of file type. Now I don't want to make it editable. User should only be able to select file using brouse button.

    Following is the code
    <input id="fileID" type="file" onkeypress="return false;" oncontextmenu="return false;"/>


    This helped me to avoid typing anything and also to paste anything using right click paste.

    But in Internet Explorer browser, I am able to copy paste data/text after my focus is on input type file.

    Please let me know if any one has any idea about how to avoid pasting data in file type element.