I'm trying to use the values from an HTML dropdown menu to change the "where" of the Google Spreadsheet query HTML table.
Here's the dropdown as I have it so far:
<select>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
And the link I need it to change looks like this (inside of an iframe):
<iframe src="https://docs.google.com/spreadsheets/d/*spreadsheet key*/gviz/tq?tqx=out:html&tq=select+A,B,D,E,F,G+**where+D+contains+'*CHANGETHIS*'**&gid=2105149734" width="100%" height="200"></iframe>
Basically I need CHANGETHIS
to equal whatever is selected in the dropdown.
Is this possible?