this is a nutts job here. Not sure if jquery can handle this. I have a php page called page1.php where I have drop down like this
<select id="startRecord" >
<option value="0"></option>
</select>
Now I caclulate some values here and then send the values to page2.php. Now on page2.php I do some more caclulations and rum a query. If the result of the query is more than 30 records I want the drop down on page1.php reflect that so my users can select the query. so lets say that the result of the query on page2.php was 70, the drop down on page 1 should change to this
<select id="startRecord" >
<option value="0">0-30</option>
<option value="30">31-60</option>
<option value="61">61-70</option>
</select>
I am thinking I would need innerHtml or .html(). But not sure how to implement this for this case scenario. thanks