I have a preview.jsp page , which makes a call to itself when a language is changed, which in turns calls JavaScript code dualPreview.js. When language is changed fro English to Spanish, call is made to preview.js.
When code finishes dualPreview.js and comes back to
JSP, page breaks and spreads out. It becomes normal, when I click on "Go" button. WHen I change language from Spanish to English, page does not break and stays normal. Can someone please give an idea, what can this be due to ?
code for preview.jsp
Code for dualPreview.js