I have several html selects that need to be populated with options containing numeric values. I have written the js function but I don’t know how to call them between the <select> and </select> tags.
@ExuroJun 10.2004 — #Can you call the function at the body's onload event rather than from within the select? Also, does it matter which option is selected initially?
@bobbabuoyauthorJun 10.2004 — #It really doesn't matter which option is selected initially-I would prefer the first one which will happen by default if none is specified, right?
The problem with calling it in the onload event is that I need to call it several times with the max and min variables taking on different values.
@ExuroJun 10.2004 — #[i]Originally posted by bobbabuoy [/i]
[B]The problem with calling it in the onload event is that I need to call it several times with the max and min variables taking on different values.[/B][/QUOTE] Does that mean that you will be clearing the contents of the <select> element each time you call the function? If so, the script will have to be altered to do that as well...