Question: I am working with C# and i am loading a jquery file 1.8.1 in the layout, but there is a module pulling through which is adding another jquery file 1.6.1 is there any way for me to remove it without physically going in and remove it so i need to remove it dynamically. 

Thanks.

Answer: 
You are changing the `src` attribute of the `<div class="image_cell" id="1">`, which is non-existent. What you want to do is to access its child node (the `<img>`) instead:

```
document.getElementById("1").querySelector("img").src = "StarOn.gif";

```
jsFiddle : <https://jsfiddle.net/CanvasCode/z1fru5f0/>

You need to assign your img tags the id and not the div, if you assign the divs the id then you need to check its childNodes.

Html

```
<div class="image_line" >
    <div class="image_cell">
        <img id="1" src ="http://www.gamingevolution.info/screenshots/main.php/d/149898-1/Greystar.gif" />
    </div>
    <div class="image_cell">
        <img id="2" src ="http://www.gamingevolution.info/screenshots/main.php/d/149898-1/Greystar.gif" />
    </div>
    <div class="image_cell">
        <img id="3" src ="http://www.gamingevolution.info/screenshots/main.php/d/149898-1/Greystar.gif" />
    </div>
    <div id="4" class="image_cell">
        <img src ="http://www.gamingevolution.info/screenshots/main.php/d/149898-1/Greystar.gif" />
    </div>
    <div id="5" class="image_cell">
        <img src ="http://www.gamingevolution.info/screenshots/main.php/d/149898-1/Greystar.gif" />
    </div>

</div>

```

javascript

```
var start1 = document.getElementById("1")
start1.src = "https://www.fortwhyte.org/wp-content/uploads/2014/08/gold_star.png";

```