Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Own style for Browse button in file element

 
sreenath reddy
Ranch Hand
Posts: 415
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am using a input type=file for file chooser in javascript. But the style of the Browse button is not looking good ... I want to make it in sync with the styles in my application.

I tried hiding the file element and adding my own button , which on clicking this will invoke the file.click() , but then submit is throwing some ACCESS DENIED in javascript

Can any one let me know if there is any solution for this ??
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the file control has strict security...

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic