Javascript-o-rama
Javascript-o-rama
Out of context: Reply #16
- Started
- Last post
- 23 Responses
- stewdio0
You say you can't change the HTML, which is unfortunate, but you may still be able to use jQuery which will make everything much easier. http://jquery.com
Assuming your external JavaScript file is being called in the HTML's <HEAD> area you should be able to add a line to your code like :
document.write( "<script type='text/javascript' src='jquery.js'></script>" );
It's a bit ghetto, but may allow you to really manipulate the HTML with ease.