This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Html:button is not working in Mozilla?

 
Sudarshan Reddy
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following code that i am using

<html:button property="Upload" styleId="Upload" value="Upload" style="Upload" onclick="javascript:getsize()" />


Its working fine in IE but its not working in Mozilla?

any one help me on this..?

Thanks in advance
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have no idea what you mean with "no working", but I guess that you're talking about that Javascript function? Why didn't you post the related JS function then? And I also have to guess that you're using some IE proprietary scripting framework called 'ActiveX' to get the file size? Well, that doesn't work in alternative browsers, no. Having that script in a JSP file doesn´t make it a JSP problem. It´s a JS/browser problem.

Please ask questions the smart way.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33667
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sudarshan,
Also, can you post what it looks like in the generated HTML rather than Struts. This will help people who don't Struts answer the question too.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic