I'm trying to figure out some javascript to use in a Chrome extension. The idea is to add some more options to a drop down list so players have some more choices. I've used the getElementByID function to add some html to existing divs but, this doesn't seem to be an option here as there is no div ID to target. The html I want to change is below. Is there a similar function to accomplish what I'm trying to do? I am hoping to add options for 500, 1000, 1500 and 2000.
Thank you!
Thank you!
Code:
<div class="training_quantity">
<select name="count" id="training_count_4">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="10">10</option>
<option value="25">25</option>
<option value="50">50</option>
<option value="100">100</option>
</select>
</div>