I am triggering an Arabic anchor tag on the page load using jQuery.
-
I am triggering an Arabic anchor tag on page load using jQuery, and the Arabic button is getting triggered, but the content is not being translated into Arabic.
Code:jQuery(window).load(function() {
setTimeout(function() {
jQuery(‘.page-id-17138 .gtranslate_wrapper a.glink[data-gt-lang=”ar”]’).click();
}, 2000); // 2000 milliseconds ka (2 seconds) delay
});I’m manually changing the content, but when the page loads, the click event is triggered, but the content doesn’t change. Please provide a solution.
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘I am triggering an Arabic anchor tag on the page load using jQuery.’ is closed to new replies.