To change the page title use the following:
$("title").html([title])
For Meta Keywords and Meta Description:
$("meta[name = 'keywords']").attr("content", [keywords])
$("meta[name = 'description']").attr("content", [description])
Tuesday, April 6, 2010
Change Page Title, Meta Keywords and Meta Description with jQuery
Labels:
jquery,
meta description,
meta keywords,
meta tags,
page title
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment