I need to change the value of the src in the tag :
<script type='text/javascript' src='gray.js'></script>
For this I'm using a combobox:
<select id="chartTheme">
<option value="dark-blue">Dark Blue</option>
<option value="gray">Gray</option>
</select>
How to make it use a Jquery function when I select and click in a refresh button?
Source to refresh button:
<input type="image" name="commit" src="../icons/refresh.png" onClick="javascript:updateGraph()"></input>
.src.may as well just load a new script or call a different function in the same script.