Hi,
I have a simple web page with the jQuery script.
When I add the Timeplot script, jQuery (the JavaScript variable)
becomes assigned to null whereas his equivalent $ stays correct.
I use firebug (Firefox add-on) to check js var and the web page is as
following:
<html>
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-
latest.js" id="jquery"></script>
</head>
<body>
<button onclick="loadIt()">load timeplot</button>
<script type="text/javascript">
function loadIt() {
var s = document.createElement('script');
s.setAttribute('src', "http://api.simile-widgets.org/timeplot/
1.1/timeplot-api.js");
document.getElementsByTagName('head')[0].appendChild(s);
}
</script>
</body>
</html>
Anyone know how to avoid that ?
Thanks,
jerome
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.