[jQuery] META Tag
[jQuery] META Tag
<span style="font-family: courier new,monospace;"><meta http-equiv="refresh" content="200;url=<a href="http://jquery.com">
http://jquery.com</a>"></span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">$(document).ready(function(){</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
var meta = $("meta").attr("content");</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> alert(meta); //results in 200;url=<a href="http://jquery.com">
http://jquery.com</a></span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> $("meta").attr("content","500;url=
<a href="http://commadot.com">http://commadot.com</a>");</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> alert(meta); //results in same as first</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> });</span>
Good news. The first alert works.
Bad news. The second one doesn't.
Any ideas?
Glen