The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Remember Dropdown Selection Re: Remember Dropdown Selection


The array works perfectly for one part of the form (Buying), but when you switch the radio button to Renting it calls its JavaScript and pulls its select options from that. I can’t seem to work out a way to use that array in the JavaScript (below):

document.SearchForm.MaxPrice.options[0]=new Option ("Price (Max)","9999999");
document.SearchForm.MaxPrice.options[1]=new Option("u00A3250","250");
document.SearchForm.MaxPrice.options[2]=new Option("u00A3500","500");
document.SearchForm.MaxPrice.options[3]=new Option("u00A3600","600");