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

issue with javascript and tiles.

 
Vinny Menon
Ranch Hand
Posts: 62
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fellow ranchers
When i access my app url through localhost IP, http://127.0.0.1:8080/myapp/index.jsp ,the javascript elements are correctly shown as object HTMLTableRowElement and the javascript code of hiding/showing menu works fine.
when i access the same url through my machine IP address, http://ipaddress:8080/myapp/index.jsp ,the javascript elements shown as [object] and the javascript code of of hiding/showing menu stops working fine.
i am using struts tiles in the application and deployed it on tomcat 6.0.browser is IE 8.0

can some one please advise why this is happening?
cheers
vinny m
 
Vinny Menon
Ranch Hand
Posts: 62
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i changed the browser mode to IE8 and document mode to IE8 standards,and the code is working fine now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic