After finding another thread on here I modified my code.
What I needed was.
document.getElementsByTagName("head")[0].appendChild()
It is functional with a TryIt Editor.
I still need to get it working on my homepage.
Code:
<form onchange="fctn()" name="pzz" METHOD="GET">
<select name="plyrs">
<option value="http://twitter.com/statuses/user_timeline/phil_hellmuth.json?callback=twitterCallback2&count=3"/>Phil Hellmuth
<option value="http://twitter.com/statuses/user_timeline/RealAnnieDuke.json?callback=twitterCallback2&count=3"/>Annie Duke
<option value="http://twitter.com/statuses/user_timeline/TexDolly.json?callback=twitterCallback2&count=3"/>Doyle Brunson
<option value="http://twitter.com/statuses/user_timeline/TheMouthMatusow.json?callback=twitterCallback2&count=3"/>Mike Matusow
</select>
</form>
<ul id="twitter_update_list"></ul>
<script src="http://twitter.com/javascripts/blogger.js" type="text/javascript"></script>
<script src="http://twitter.com/statuses/user_timeline/phil_hellmuth.json?callback=twitterCallback2&count=3" type type = "text/javascript"></script>
<script>
function fctn()
{
var twts = document.createElement("script");
twts.type = "text/javascript";
twts.src = (pzz.plyrs.value);
document.getElementsByTagName("head")[0].appendChild(twts);
}
</script>
Bookmarks