I need to Set page title to a variable I can use in a meta tag.
I get this to work - and title shows in the input field
<SCRIPT LANGUAGE = JavaScript>
//alert(document.title)
function getTitle()
{document.titleForm.theTitle.value = document.title};
</SCRIPT>
<body onload="getTitle();">
<form name="titleForm">
<input type="text" name="theTitle">
</form>
But now I need something here.
<meta tag name="Funnel" content="theTitle">
Any suggestions?
I get this to work - and title shows in the input field
<SCRIPT LANGUAGE = JavaScript>
//alert(document.title)
function getTitle()
{document.titleForm.theTitle.value = document.title};
</SCRIPT>
<body onload="getTitle();">
<form name="titleForm">
<input type="text" name="theTitle">
</form>
But now I need something here.
<meta tag name="Funnel" content="theTitle">
Any suggestions?