This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
I have a requirement saying that the text field in <t:inputFileUpload> should be disabled.
So a user should not be able to manually enter the path of a file. This works without any modification in firefox. Upon clicking the text box a browse window appears. However in IE6 and IE7 this is not happening. Manual entry is possible.
Can someone help me to fix this please.
Thanks in advance.
SCJP 1.6 86%, SCWCD 5.0 on
posted 7 years ago
1. Check the id of text field in source of Your page (in firefox or IE).
2. Then, on onLoad event of body tag, put something like this: