0

How can I change the language attribute on the tag to a different value via javascript on page load ?

1 Answer 1

3

The purpose of apex:... tags is to generate HTML on the server-side that is then consumed by the browser on the client-side. As JavaScript is executing on the client-side where the tags no longer directly exist you need to take a different approach e.g. a page parameter that the Apex controller makes available to the Visualforce.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.