Set different option selected option on refresh of the page — JAVASCRIPT

Greafenna

New Member
so i have a table as follows:\[code\]<select id="CellLayout" style="color:#99FF00; font-family:monospace;" onChange="PipeConfigChange(this.value);"> <option>select layout</option> <option>blinker</option> <option>glider</option> <option>flower</option> <option>custom</option></select>\[/code\]on default, 'select layout' is what is displayed. on the click of a button, i need the select box to display 'custom'. i tried searching around SO, but I'm trying to do this without Jquery..
 
Back
Top