aspose file tools*
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: 61658
    
  67

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: 61658
    
  67

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: 61658
    
  67

Please reread my first post.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: browser button as an image