This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSF and the fly likes How to differ a InputFile textbox from the button in javascript? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "How to differ a InputFile textbox from the button in javascript?" Watch "How to differ a InputFile textbox from the button in javascript?" New topic
Author

How to differ a InputFile textbox from the button in javascript?

Wander Soares
Greenhorn

Joined: Jun 18, 2010
Posts: 10
I need to know how can I differ InputFile textbox from the InputFile button in javascript, that is, i need a way to do something like this:

//event.type = keyDown

if(key == enter){

if(textbox of inputFile) {
event.cancel();
}

}

Anyone knows something?
Thanks.
 
Have you checked out Aspose?
 
subject: How to differ a InputFile textbox from the button in javascript?
 
It's not a secret anymore!