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 HTML, CSS and JavaScript and the fly likes browser button as an image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "browser button as an image " Watch "browser button as an image " New topic
Author

browser button as an image

Karim eltounsi
Greenhorn

Joined: Jun 23, 2007
Posts: 16
Hi All, i need to set up a browser button but as an image instead of a regular HTML button. I'm using this code in a jsp page for the image button but its not uploading at all.




Any idea how to accomplish that. Thanks
[ July 17, 2007: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63195
    
  69

What are you expecting document.all.file to reference?

Struts tags are useless in this forum. What does it evaluate to?

Also, you do realize that document.all is IE only?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Karim eltounsi
Greenhorn

Joined: Jun 23, 2007
Posts: 16
the application will be running on IE only.
document.all
was just for testing to see if i can browse through the documents. do you know a better way to have a browser image button.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63195
    
  69

You seem to be focused on the problem being the image. How about answering my question?
Karim eltounsi
Greenhorn

Joined: Jun 23, 2007
Posts: 16
Pardon me what is your exact question.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63195
    
  69

Please reread my first post.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: browser button as an image
 
It's not a secret anymore!