I need to add a meta tag (specfically, <meta name="apple-itunes-app" content="app-id=xxxxx">
) to a certain page, but the way our templates are set up, it's not possible for me to edit the code for the HEAD tag directly (for corporate, not technical, reasons).
Therefore, is there a way using JQuery within the BODY tag to add this meta tag?
$('head').append(""); << doesn't work, I even saw this in document.ready, like dystroy says: you need the tag before the body is even parsed....
For me, this did the job:
You can add the meta tag but as they're used before the body is even parsed, it's useless.
Maybe you can try this:
jQuery:
Javascript: