Question about 'Web-Preview'

Showing results for 
Search instead for 
Did you mean: 
Active Member II

Question about 'Web-Preview'

Hi Community!

      As we know if a document can not be previewed, then will have a link and show a message let you to download it.

      Now I replace the Html Element from <a> to <buttom>, because I want to add some functions into the onclick event.

      Would it work? If not, could you show me the right way please!