Is there any way to dynamically change what script included in the HTML?
Is there anyway for the <script> include to take affect?
I am doing to get around the fact that i am using two different js frame works.
jQuery and Mootools. There seems to be a conflict.
So, when the user clicks the button I want to unload JQuery and load Mootools.
Code:
<span id="changeit"><script src="test1.js"></script></span>
<input type="button" onClick="document.getElementById('changeit").innerHTML="<script src="test2.js"></script>" />
I am doing to get around the fact that i am using two different js frame works.
jQuery and Mootools. There seems to be a conflict.
So, when the user clicks the button I want to unload JQuery and load Mootools.
Comment