aspose file tools
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
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply 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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to differ a InputFile textbox from the button in javascript?
 
Similar Threads
javaScript Help......
checking user inputs
making the textbox readonly
Copy-to-clipboard
How to populate a value in text box